llvm-6502/test/MC/Disassembler/ARM
Asiri Rathnayake dc05f3a64b Add support for ARM modified-immediate assembly syntax.
Certain ARM instructions accept 32-bit immediate operands encoded as a 8-bit
integer value (0-255) and a 4-bit rotation (0-30, even). Current ARM assembly
syntax support in LLVM allows the decoded (32-bit) immediate to be specified
as a single immediate operand for such instructions:

mov r0, #4278190080

The ARMARM defines an extended assembly syntax allowing the encoding to be made
more explicit, as in:

mov r0, #255, #8 ; (same 32-bit value as above)

The behaviour of the two instructions can be different w.r.t flags, which is
documented under "Modified immediate constants" in ARMARM. This patch enables
support for this extended syntax at the MC layer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223113 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-02 10:53:20 +00:00
..
addrmode2-reencoding.txt ARM: change implicit immediate forms of {ld,st}r{,b}t to psuedo-instructions 2014-01-12 04:36:01 +00:00
arm-LDREXD-reencoding.txt ARM: Fix STREX/LDREX reecoding 2013-06-11 08:03:20 +00:00
arm-STREXD-reencoding.txt ARM: Fix STREX/LDREX reecoding 2013-06-11 08:03:20 +00:00
arm-tests.txt Add support for ARM modified-immediate assembly syntax. 2014-12-02 10:53:20 +00:00
arm-thumb-trustzone.txt
arm-trustzone.txt
basic-arm-instructions-v8.txt [ARM] Handling for coprocessor instructions that are undefined starting from ARMv8 (ARM encodings) 2013-11-08 16:16:30 +00:00
basic-arm-instructions.txt Add support for ARM modified-immediate assembly syntax. 2014-12-02 10:53:20 +00:00
crc32-thumb.txt 'svn add' the test cases. 2013-09-18 09:46:49 +00:00
crc32.txt 'svn add' the test cases. 2013-09-18 09:46:49 +00:00
d16.txt Fix bashism in tests added by r221341 2014-11-05 12:40:21 +00:00
fp-armv8.txt [ARM] Add support for MVFR2 which is new in ARMv8 2013-11-11 19:56:13 +00:00
fp-encoding.txt 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
hex-immediates.txt ARM: honor hex immediate formatting for ldr/str i12 offsets. 2014-06-11 20:26:45 +00:00
invalid-armv7.txt [ARM] Introduce the 'sevl' instruction in ARMv8. 2013-10-01 12:39:11 +00:00
invalid-armv8.txt [ARM] Handling for coprocessor instructions that are undefined starting from ARMv8 (ARM encodings) 2013-11-08 16:17:14 +00:00
invalid-because-armv7.txt [ARM] Add support for MVFR2 which is new in ARMv8 2013-11-11 19:56:13 +00:00
invalid-FSTMX-arm.txt ARM: add fstmx and fldmx instructions for assembly 2013-05-31 15:55:51 +00:00
invalid-IT-CC15.txt
invalid-thumb-MSR-MClass.txt Thumb2 M-class MSR instruction support changes 2014-09-01 11:25:07 +00:00
invalid-thumbv7-xfail.txt Improve llvm-mc disassembler mode and refactor ARM tests to use it 2013-07-19 10:05:04 +00:00
invalid-thumbv7.txt ARM: implement support for the UDF mnemonic 2014-05-14 03:47:39 +00:00
invalid-thumbv8.txt [ARM] Handling for coprocessor instructions that are undefined starting from ARMv8 (Thumb encodings) 2013-11-08 16:25:50 +00:00
invalid-virtexts.arm.txt Add post-decode checking of HVC instruction. 2014-12-01 08:50:27 +00:00
ldrd-armv4.txt
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
load-store-acquire-release-v8-thumb.txt [ARMv8] Add MC support for the new load/store acquire/release instructions. 2013-08-27 17:38:16 +00:00
load-store-acquire-release-v8.txt [ARMv8] Add MC support for the new load/store acquire/release instructions. 2013-08-27 17:38:16 +00:00
marked-up-thumb.txt
memory-arm-instructions.txt
move-banked-regs-arm.txt Fix wrong encoding of MRSBanked. 2014-11-28 15:01:06 +00:00
move-banked-regs-thumb.txt ARM: implement MRS/MSR (banked reg) system instructions. 2014-08-15 10:47:12 +00:00
neon-crypto.txt [ARMv8] Add support for the v8 cryptography extensions. 2013-09-19 11:59:01 +00:00
neon-tests.txt
neon-v8.txt [ARMv8] Implement the NEON instructions VRINT{N, X, A, Z, M, P}. 2013-07-19 16:34:16 +00:00
neon.txt
neont2.txt ARM: Enforce decoding rules for VLDn instructions 2013-06-11 08:14:14 +00:00
neont-VLD-reencoding.txt
neont-VST-reencoding.txt
thumb1.txt This corrects the implementation of Thumb ADR instruction. There are three issues: 2013-07-03 09:21:44 +00:00
thumb2-preloads.txt [Thumb2] Improve disassembly of memory hints 2014-10-23 08:52:58 +00:00
thumb2-v8.txt [ARM] Handling for coprocessor instructions that are undefined starting from ARMv8 (Thumb encodings) 2013-11-08 16:25:50 +00:00
thumb2.txt Make ARM hint ranges consistent, and add tests for these ranges 2013-10-23 10:14:40 +00:00
thumb-fp-armv8.txt Fix tests for hasFPARMv8 name change (r190692) 2013-09-13 14:37:52 +00:00
thumb-MSR-MClass.txt Thumb2 M-class MSR instruction support changes 2014-09-01 11:25:07 +00:00
thumb-neon-crypto.txt [ARM] NEON instructions were erroneously decoded from certain invalid encodings 2013-10-30 18:10:09 +00:00
thumb-neon-v8.txt [ARMv8] Implement the NEON instructions VRINT{N, X, A, Z, M, P}. 2013-07-19 16:34:16 +00:00
thumb-printf.txt
thumb-tests.txt Remove the cortex-a9-mp CPU. 2014-11-03 17:38:00 +00:00
thumb-v8.txt [ARMv8] Add some missing tests for DSB/DMB. 2013-09-05 16:05:45 +00:00
unpredictable-ADC-arm.txt
unpredictable-ADDREXT3-arm.txt
unpredictable-AExtI-arm.txt
unpredictable-AI1cmp-arm.txt
unpredictable-BFI.txt
unpredictable-LDR-arm.txt
unpredictable-LDRD-arm.txt
unpredictable-LSL-regform.txt
unpredictable-MRRC2-arm.txt
unpredictable-MRS-arm.txt
unpredictable-MUL-arm.txt
unpredictable-RSC-arm.txt
unpredictable-SEL-arm.txt
unpredictable-SHADD16-arm.txt
unpredictable-SSAT-arm.txt
unpredictable-STRBrs-arm.txt
unpredictable-swp-arm.txt
unpredictable-UQADD8-arm.txt
unpredictables-thumb.txt
vfp4.txt
virtexts-arm.txt Add ARM ERET and HVC virtualisation extension instructions. 2014-12-01 08:33:28 +00:00
virtexts-thumb.txt Add Thumb HVC and ERET virtualisation extension instructions. 2014-12-01 08:39:19 +00:00