llvm-6502/test/MC/Disassembler/ARM
Kevin Enderby 14ccc9007a Added a option to the disassembler to print immediates as hex.
This is for the lldb team so most of but not all of the values are
to be printed as hex with this option.  Some small values like the
scale in an X86 address were requested to printed in decimal
without the leading 0x.

There may be some tweaks need to places that may still be in
decimal that they want in hex.  Specially for arm.  I made my best
guess.  Any tweaks from here should be simple.

I also did the best I know now with help from the C++ gurus
creating the cleanest formatImm() utility function and containing
the changes.  But if someone has a better idea to make something
cleaner I'm all ears and game for changing the implementation.

rdar://8109283



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169393 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-05 18:13:19 +00:00
..
arm-tests.txt
basic-arm-instructions.txt Fix #13138, a bug around ARM instruction DSB encoding and decoding issue. 2012-08-02 08:21:27 +00:00
fp-encoding.txt
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-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 Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +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
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
neon.txt ARM: Move Thumb2 tests to Thumb2 test file and fix CHECK lines. 2012-08-13 22:25:44 +00:00
neont2.txt ARM: Move Thumb2 tests to Thumb2 test file and fix CHECK lines. 2012-08-13 22:25:44 +00:00
neont-VLD-reencoding.txt Check for invalid alignment values when decoding VLDn/VSTn (single ln) instructions. 2012-09-06 15:17:49 +00:00
neont-VST-reencoding.txt Use correct part of complex operand to encode VST1 alignment. 2012-09-06 14:36:55 +00:00
thumb1.txt ARM: Better disassembly for pc-relative LDR. 2012-10-30 01:04:51 +00:00
thumb2.txt Fix ARM's b.w instruction for thumb 2 and the encoding T4. The branch target 2012-10-29 23:27:20 +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