llvm-project/llvm/test/MC/ARM
Kevin Enderby 6fd9624843 Fix ARM's b.w instruction for thumb 2 and the encoding T4. The branch target
is 24 bits not 20 and the decoding needed to correctly handle converting the
J1 and J2 bits to their I1 and I2 values to reconstruct the displacement. 

llvm-svn: 166982
2012-10-29 23:27:20 +00:00
..
arm-aliases.s ARM assembler should accept shift-by-zero for any shifted-immediate operand. 2011-12-22 18:04:04 +00:00
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 assemly parsing and validation of IT instruction. 2012-01-25 19:52:01 +00:00
arm-memory-instructions.s ARM assembly parsing and encoding support for LDRD(label). 2011-12-19 23:06:24 +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_addrmode2.s ARM STRT assembly parsing and encoding. 2011-08-11 22:18:00 +00:00
arm_addrmode3.s ARM refactoring assembly parsing of memory address operands. 2011-08-03 23:50:40 +00:00
arm_fixups.s ARM: allow vanilla expressions for movw/movt. 2012-05-01 20:43:21 +00:00
arm_instructions.s Fixed the LLVM ARM v7 assembler and instruction printer for 8-bit immediate offset addressing. The assembler and instruction printer were not properly handeling the #-0 immediate. 2012-05-11 09:10:54 +00:00
arm_word_directive.s
basic-arm-instructions.s Fix #13138, a bug around ARM instruction DSB encoding and decoding issue. 2012-08-02 08:21:27 +00:00
basic-thumb-instructions.s Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits 2012-05-03 22:41:56 +00:00
basic-thumb2-instructions.s Fix #13035, a bug around Thumb instruction LDRD/STRD with negative #0 offset index issue. 2012-08-02 08:29:50 +00:00
bracket-darwin.s Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
bracket-exprs.s split this test into arch specific pieces, so the ARM 2011-02-25 19:06:35 +00:00
cxx-global-constructor.ll Add support for the R_ARM_TARGET1 relocation, which should be given to relocations applied to all C++ constructors and destructors. 2012-01-26 09:25:43 +00:00
diagnostics.s Test case for r165480. 2012-10-10 02:54:23 +00:00
dot-req.s ARM assembler support for the target-specific .req directive. 2011-12-14 02:16:11 +00:00
elf-eflags-eabi.s Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to 2011-02-04 21:41:11 +00:00
elf-movt.s Print r_type with the correct number of bits. 2011-08-04 14:39:30 +00:00
elf-reloc-01.ll Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
elf-reloc-02.ll Print r_sym with the correct number of bits. 2011-08-04 14:48:27 +00:00
elf-reloc-03.ll Print r_sym with the correct number of bits. 2011-08-04 14:48:27 +00:00
elf-reloc-condcall.s Have ARM ELF use correct reloc for "b" instr. 2012-06-19 16:03:02 +00:00
elf-thumbfunc-reloc.ll Update test for r142801. 2011-10-24 17:26:26 +00:00
elf-thumbfunc-reloc.s Fix incorrect relocation generation. Patch by Kristof Beyls. 2011-12-22 21:36:43 +00:00
elf-thumbfunc.s print st_type with the correct number of bits. 2011-08-04 15:24:00 +00:00
full_line_comment.s Move arch specific tests in arch specific directories. 2011-02-24 19:06:27 +00:00
hilo-16bit-relocations.s Completed :lower16: / :upper16: support for movw / movt pairs on Darwin. 2011-01-14 02:38:49 +00:00
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
mode-switch.s ARM support the .arm and .thumb directives for assembly mode switching. 2011-12-07 18:04:19 +00:00
neon-abs-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neon-absdiff-encoding.s McARM: Flush out hard coded known non-predicated mnemonic list. 2011-01-10 21:01:03 +00:00
neon-add-encoding.s ARM two-operand forms for vhadd and vhsub instructions. 2012-04-16 23:00:25 +00:00
neon-bitcount-encoding.s McARM: Flush out hard coded known non-predicated mnemonic list. 2011-01-10 21:01:03 +00:00
neon-bitwise-encoding.s ARM: Add missing two-operand VBIC aliases. 2012-05-02 21:11:56 +00:00
neon-cmp-encoding.s ARM NEON VCLE is an alias for VCGE w/ the source operands reversed. 2011-12-15 22:56:33 +00:00
neon-convert-encoding.s Add Neon VCVT instructions for f32 <-> f16 conversions. 2010-12-15 22:14:12 +00:00
neon-dup-encoding.s Enable ARM mode VDUP(scalar) tests. 2011-10-07 23:57:03 +00:00
neon-minmax-encoding.s ARM NEON implied destination aliases for VMAX/VMIN. 2011-12-19 18:57:38 +00:00
neon-mov-encoding.s Simplify some uses of utohexstr. 2011-11-07 21:00:59 +00:00
neon-mul-accum-encoding.s ARM vmla/vmls assembly parsing for the lane index operand. 2011-10-18 18:27:07 +00:00
neon-mul-encoding.s ARM NEON two-operand aliases for VQDMULH. 2011-12-13 20:40:37 +00:00
neon-neg-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neon-pairwise-encoding.s ARM NEON two-operand aliases for VPADD. 2011-12-19 19:51:03 +00:00
neon-reciprocal-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neon-reverse-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neon-satshift-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neon-shift-encoding.s ARM assembly two-operand forms for VRSHL. 2012-04-16 18:03:16 +00:00
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 ARM 'vuzp.32 Dd, Dm' is a pseudo-instruction. 2012-04-11 17:40:18 +00:00
neon-sub-encoding.s ARM: Update NEON assembly two-operand aliases. 2012-04-20 18:12:54 +00:00
neon-table-encoding.s ARM NEON VTBL/VTBX assembly parsing and encoding. 2011-12-15 22:27:11 +00:00
neon-vld-encoding.s NEON VLD4(all lanes) assembly parsing and encoding. 2012-01-25 00:01:08 +00:00
neon-vst-encoding.s Fixup VST1.32 with writeback instruction. Also re-factor non-writeback version. 2012-03-28 10:18:11 +00:00
neon-vswp.s ARM encoding for VSWP got the second operand incorrect. 2012-03-30 18:53:01 +00:00
neont2-abs-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
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 Un-XFAIL file. Fix incorrect CHECK lines. General format cleanup. 2011-10-04 20:50:05 +00:00
neont2-bitwise-encoding.s Un-XFAIL file. Comment out individual failing instructions. 2011-10-04 21:16:42 +00:00
neont2-cmp-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-convert-encoding.s Add Neon VCVT instructions for f32 <-> f16 conversions. 2010-12-15 22:14:12 +00:00
neont2-dup-encoding.s Specify cpu to unbreak tests. 2012-04-26 01:38:10 +00:00
neont2-minmax-encoding.s ARM NEON implied destination aliases for VMAX/VMIN. 2011-12-19 18:57:38 +00:00
neont2-mov-encoding.s Simplify some uses of utohexstr. 2011-11-07 21:00:59 +00:00
neont2-mul-accum-encoding.s ARM vmla/vmls assembly parsing for the lane index operand. 2011-10-18 20:14:56 +00:00
neont2-mul-encoding.s Enable and fix a test. 2011-12-20 23:20:00 +00:00
neont2-neg-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-pairwise-encoding.s Fix and clean up tests. Un-XFAIL. 2011-10-06 21:28:30 +00:00
neont2-reciprocal-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-reverse-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-satshift-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-shift-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
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 Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-sub-encoding.s Fix misspelled target triples in MC/ARM test commands. 2010-12-15 22:14:01 +00:00
neont2-table-encoding.s ARM NEON VTBL/VTBX assembly parsing and encoding. 2011-12-15 22:27:11 +00:00
neont2-vld-encoding.s
neont2-vst-encoding.s Fix assembling ARM vst2 instructions with double-spaced registers. 2012-03-20 17:41:51 +00:00
pr11877.s Ensure .AliasedSymbol() is called on all uses of getSymbol(). Affects ARM and MIPS ELF backends. 2012-01-28 15:58:32 +00:00
simple-fp-encoding.s Fix instruction description of VMOV (between two ARM core registers and two single-precision resiters) (and do it properly this time! 2012-07-10 12:51:09 +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 NOP encoding varies depending on ARCH revision. 2011-08-31 18:35:46 +00:00
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
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: Add a better diagnostic for some out of range immediates. 2012-06-22 23:56:48 +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
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 Don't print a counter in hex. 2011-08-04 13:39:15 +00:00