llvm-6502/test/MC/Disassembler/ARM
Quentin Colombet 1ad3a410be ARM: Fix encoding of hint instruction for Thumb.
"hint" space for Thumb actually overlaps the encoding space of the CPS
instruction. In actuality, hints can be defined as CPS instructions where imod
and M bits are all nil.

Handle decoding of permitted nop-compatible hints (i.e. nop, yield, wfi, wfe,
sev) in DecodeT2CPSInstruction.

This commit adds a proper diagnostic message for Imm0_4 and updates all tests.

Patch by Mihail Popa <Mihail.Popa@arm.com>.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180617 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-26 17:54:54 +00:00
..
arm-tests.txt ARM: Correct printing of pre-indexed operands. 2013-04-12 18:47:25 +00:00
arm-thumb-trustzone.txt ARM: Make "SMC" instructions conditional on new TrustZone architecture feature. 2013-04-10 12:08:35 +00:00
arm-trustzone.txt ARM: Make "SMC" instructions conditional on new TrustZone architecture feature. 2013-04-10 12:08:35 +00:00
basic-arm-instructions.txt ARM: Permit "sp" in ARM variant of STREXD instructions 2013-04-19 15:44:32 +00:00
fp-encoding.txt Fixed disassembler for vstm/vldm ARM VFP instructions. 2012-05-03 16:38:40 +00:00
hex-immediates.txt Added a option to the disassembler to print immediates as hex. 2012-12-05 18:13:19 +00:00
invalid-Bcc-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-BFI-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-CPS2p-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-CPS3p-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-DMB-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-DSB-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-hint-arm.txt ARM: Fix encoding of hint instruction for Thumb. 2013-04-26 17:54:54 +00:00
invalid-hint-thumb.txt ARM: Fix encoding of hint instruction for Thumb. 2013-04-26 17:54:54 +00:00
invalid-IT-CBNZ-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-IT-CC15.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-IT-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDC-form-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDM-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDR_POST-arm.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-LDR_PRE-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDRB_POST-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDRD_PRE-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-LDRrs-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MCR-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MOVr-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MOVs-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MOVs-LSL-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MOVTi16-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MRRC2-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-MSRi-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-RFEorLDMIA-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-SBFX-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-SMLAD-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-SRS-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-STMIA_UPD-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-SXTB-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2Bcc-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2LDRBT-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2LDREXD-thumb.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-t2LDRSHi8-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2LDRSHi12-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2PUSH-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2STR_POST-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-t2STRD_PRE-thumb.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-t2STREXB-thumb.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-t2STREXD-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-UMAAL-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-VLD1DUPq8_UPD-arm.txt Diagnose invalid alignments on duplicating VLDn instructions. 2012-09-06 15:27:12 +00:00
invalid-VLD1LNd32_UPD-thumb.txt Check for invalid alignment values when decoding VLDn/VSTn (single ln) instructions. 2012-09-06 15:17:49 +00:00
invalid-VLD3DUPd32_UPD-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-VLD4DUPd32_UPD-thumb.txt Diagnose invalid alignments on duplicating VLDn instructions. 2012-09-06 15:27:12 +00:00
invalid-VLD4LNd32_UPD-thumb.txt Check for invalid alignment values when decoding VLDn/VSTn (single ln) instructions. 2012-09-06 15:17:49 +00:00
invalid-VLDMSDB_UPD-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
invalid-VQADD-arm.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-VST1d8Twb_register-thumb.txt Make ARMAsmParser accept the correct alignment specifier syntax in instructions. 2013-02-14 14:46:12 +00:00
invalid-VST1LNd32_UPD-thumb.txt Check for invalid alignment values when decoding VLDn/VSTn (single ln) instructions. 2012-09-06 15:17:49 +00:00
invalid-VST2b32_UPD-arm.txt Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
invalid-VST4LNd32_UPD-thumb.txt Check for invalid alignment values when decoding VLDn/VSTn (single ln) instructions. 2012-09-06 15:17:49 +00:00
ldrd-armv4.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +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
marked-up-thumb.txt ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
memory-arm-instructions.txt
neon-tests.txt Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neon.txt Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neont2.txt Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neont-VLD-reencoding.txt Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
neont-VST-reencoding.txt Make ARMAsmPrinter generate the correct alignment specifier syntax in instructions. 2013-02-22 10:01:33 +00:00
thumb1.txt ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
thumb2.txt Fix issue with disassembler decoding CBZ/CBNZ immediates as negatives when the upper bit is set. 2013-03-28 19:22:28 +00:00
thumb-MSR-MClass.txt
thumb-printf.txt ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
thumb-tests.txt ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
unpredictable-ADC-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-ADDREXT3-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-AExtI-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-AI1cmp-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-BFI.txt Fixed the arm disassembly of invalid BFI instructions to not build a bad MCInst 2012-11-29 23:47:11 +00:00
unpredictable-LDR-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-LDRD-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-LSL-regform.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-MRRC2-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-MRS-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-MUL-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-RSC-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-SEL-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-SHADD16-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-SSAT-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-STRBrs-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-swp-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictable-UQADD8-arm.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
unpredictables-thumb.txt Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
vfp4.txt Fix a number of problems with ARM fused multiply add/subtract instructions. 2012-04-11 00:13:00 +00:00