llvm-6502/test/MC/ARM
Amaury de la Vieuville beb920fce6 ARM: fix literal load with positive offset encoding
When using a positive offset, literal loads where encoded
as if it was negative, because:
- The sign bit was not assigned to an operand
- The addrmode_imm12 operand was not encoding the sign bit correctly

This patch also makes the assembler look at the .w/.n specifier for
loads.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184182 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-18 08:13:05 +00:00
..
AlignedBundling If bundle alignment is enabled, do not add data to a fragment with instructions 2013-02-15 22:50:52 +00:00
2013-03-18-Br-to-label-named-like-reg.s Fix pr13145 - Naming a function like a register name confuses the asm parser. 2013-03-19 23:44:03 +00:00
arm_addrmode2.s revert the test change 2012-12-11 06:25:18 +00:00
arm_addrmode3.s
arm_fixups.s ARM: allow vanilla expressions for movw/movt. 2012-05-01 20:43:21 +00:00
arm_instructions.s Add a special ARM trap encoding for NaCl. 2013-01-30 16:30:19 +00:00
arm_word_directive.s
arm-aliases.s
arm-arithmetic-aliases.s ARM: 'add Rd, pc, #imm' is an alias for 'adr Rd, #imm'. 2012-09-25 00:08:13 +00:00
arm-it-block.s
arm-memory-instructions.s It adds support for negative zero offsets for loads and stores. 2013-06-11 09:48:35 +00:00
arm-shift-encoding.s Fix edge cases of ARM shift operands in arith instructions. 2012-09-22 11:18:19 +00:00
arm-thumb-cpus-default.s Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on win32 hosts. 2013-06-11 10:01:42 +00:00
arm-thumb-cpus.s Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on win32 hosts. 2013-06-11 10:01:42 +00:00
arm-thumb-trustzone.s ARM: Make "SMC" instructions conditional on new TrustZone architecture feature. 2013-04-10 12:08:35 +00:00
arm-trustzone.s ARM: Make "SMC" instructions conditional on new TrustZone architecture feature. 2013-04-10 12:08:35 +00:00
basic-arm-instructions.s ARM: ISB cannot be passed the same options as DMB 2013-06-10 14:17:08 +00:00
basic-thumb2-instructions.s ARM: fix literal load with positive offset encoding 2013-06-18 08:13:05 +00:00
basic-thumb-instructions.s ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
bracket-darwin.s
bracket-exprs.s
cxx-global-constructor.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
data-in-code.ll Fix ARM FastISel tests, as a first step to enabling ARM FastISel 2013-05-14 16:26:38 +00:00
diagnostics.s ARM: ISB cannot be passed the same options as DMB 2013-06-10 14:17:08 +00:00
dot-req.s
eh-compact-pr0.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-compact-pr1.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-cantunwind-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-cantunwind.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-fnend-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-fnstart-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-handlerdata.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-integrated-test.s Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
eh-directive-multiple-offsets.s Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
eh-directive-pad-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-pad.s Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
eh-directive-personality-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-personality.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-save-diagnoatics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-save.s Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
eh-directive-section-comdat.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-section-multiple-func.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-section.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-setfp-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-setfp.s Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
eh-directive-text-section-multiple-func.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-text-section.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
eh-directive-vsave-diagnostics.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
eh-directive-vsave.s Implement AsmParser for ARM unwind directives. 2013-05-10 16:17:24 +00:00
elf-eflags-eabi-cg.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-eflags-eabi.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-jump24-fixup.s Convert an improper CodeGen test to a MC test. 2012-11-10 04:30:40 +00:00
elf-movt.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-reloc-01.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-reloc-02.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-reloc-03.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-reloc-condcall.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-thumbfunc-reloc.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-thumbfunc-reloc.s ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one. 2013-06-10 23:20:58 +00:00
elf-thumbfunc.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
full_line_comment.s
hilo-16bit-relocations.s
invalid-hint-arm.s ARM: Fix encoding of hint instruction for Thumb. 2013-04-26 17:54:54 +00:00
invalid-hint-thumb.s ARM: Fix encoding of hint instruction for Thumb. 2013-04-26 17:54:54 +00:00
lit.local.cfg
mapping-within-section.s ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one. 2013-06-10 23:20:58 +00:00
mode-switch.s
multi-section-mapping.s ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one. 2013-06-10 23:20:58 +00:00
neon-abs-encoding.s
neon-absdiff-encoding.s
neon-add-encoding.s
neon-bitcount-encoding.s
neon-bitwise-encoding.s The ARM NEON vector compare instructions take three arguments. However, the 2013-02-14 23:18:40 +00:00
neon-cmp-encoding.s ARM: Add VACLT and VACLE assembly aliases. 2013-04-15 22:42:50 +00:00
neon-convert-encoding.s
neon-dup-encoding.s
neon-minmax-encoding.s
neon-mov-encoding.s
neon-mul-accum-encoding.s
neon-mul-encoding.s
neon-neg-encoding.s
neon-pairwise-encoding.s
neon-reciprocal-encoding.s
neon-reverse-encoding.s
neon-satshift-encoding.s
neon-shift-encoding.s
neon-shiftaccum-encoding.s ARM: Add testcases for two-operand variants of VSRA/VRSRA/VSRI. 2012-04-23 21:00:47 +00:00
neon-shuffle-encoding.s
neon-sub-encoding.s
neon-table-encoding.s
neon-vld-encoding.s Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neon-vst-encoding.s Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neon-vswp.s
neont2-abs-encoding.s
neont2-absdiff-encoding.s Specify cpu to unbreak tests. 2012-04-26 01:38:10 +00:00
neont2-add-encoding.s
neont2-bitcount-encoding.s
neont2-bitwise-encoding.s
neont2-cmp-encoding.s
neont2-convert-encoding.s
neont2-dup-encoding.s Specify cpu to unbreak tests. 2012-04-26 01:38:10 +00:00
neont2-minmax-encoding.s
neont2-mov-encoding.s
neont2-mul-accum-encoding.s
neont2-mul-encoding.s
neont2-neg-encoding.s
neont2-pairwise-encoding.s
neont2-reciprocal-encoding.s
neont2-reverse-encoding.s
neont2-satshift-encoding.s
neont2-shift-encoding.s
neont2-shiftaccum-encoding.s ARM: Add testcases for two-operand variants of VSRA/VRSRA/VSRI. 2012-04-23 21:00:47 +00:00
neont2-shuffle-encoding.s
neont2-sub-encoding.s
neont2-table-encoding.s
neont2-vld-encoding.s This patch fixes two tests marked as XFAIL among the ARM assembler tests. 2013-05-08 09:41:12 +00:00
neont2-vst-encoding.s This patch fixes two tests marked as XFAIL among the ARM assembler tests. 2013-05-08 09:41:12 +00:00
pr11877.s
relocated-mapping.s Added Mapping Symbols for ARM ELF 2012-12-07 16:50:23 +00:00
simple-fp-encoding.s This patch adds support for FPINST/FPINST2 as operands to vmsr/vmrs. These are optional registers that may be supported some ARM implementations to aid with resolution of floating point exceptions. The manual pages for vmsr and vmrs do not detail their use. Encodings and other information can be found in ARM Architecture Reference Manual section F, chapter 6, paragraph 3. 2013-06-11 09:39:51 +00:00
thumb2-b.w-encodingT4.s Fix ARM's b.w instruction for thumb 2 and the encoding T4. The branch target 2012-10-29 23:27:20 +00:00
thumb2-diagnostics.s ARM: ISB cannot be passed the same options as DMB 2013-06-10 14:17:08 +00:00
thumb2-mclass.s Fix the encoding of the armv7m (MClass) for MSR registers other than aspr, 2012-06-15 22:14:44 +00:00
thumb2-narrow-dp.ll Teach the assembler to use the narrow thumb encodings of various three-register dp instructions where permissable. 2012-07-09 16:12:24 +00:00
thumb-diagnostics.s Disallow YIELD and other allocated nop hints in pre-ARMv6 architectures. 2012-05-02 09:43:18 +00:00
thumb-nop.s
thumb-shift-encoding.s Fix edge cases of ARM shift operands in arith instructions. 2012-09-22 11:18:19 +00:00
thumb.s Disallow YIELD and other allocated nop hints in pre-ARMv6 architectures. 2012-05-02 09:43:18 +00:00
vfp4.s Support fpv4 for ARM Cortex-M4. 2012-08-02 08:35:55 +00:00
vpush-vpop.s Specify cpu to unbreak tests. 2012-04-26 01:38:10 +00:00
xscale-attributes.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00