[llvm] r178688 - [XCore] Update disassembler test to improve coverage of the instructions.
Richard Osborne
richard at xmos.com
Wed Apr 3 13:07:06 PDT 2013
Author: friedgold
Date: Wed Apr 3 15:07:06 2013
New Revision: 178688
URL: http://llvm.org/viewvc/llvm-project?rev=178688&view=rev
Log:
[XCore] Update disassembler test to improve coverage of the instructions.
Previously some instructions were unintentionally covered twice and
others were not covered at all.
Modified:
llvm/trunk/test/MC/Disassembler/XCore/xcore.txt
Modified: llvm/trunk/test/MC/Disassembler/XCore/xcore.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/XCore/xcore.txt?rev=178688&r1=178687&r2=178688&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/XCore/xcore.txt (original)
+++ llvm/trunk/test/MC/Disassembler/XCore/xcore.txt Wed Apr 3 15:07:06 2013
@@ -237,8 +237,8 @@
# CHECK: mkmsk r4, 24
0x72 0xa7
-# CHECK: outct res[r3], r0
-0xcc 0x4e
+# CHECK: outct res[r3], 0
+0xdc 0x4e
# CHECK: sext r8, 16
0xb1 0x37
@@ -383,8 +383,8 @@
# CHECK: ldaw r9, r1[r2]
0x96 0xf8 0xec 0x1f
-# CHECK: ldaw r8, r7[r11]
-0xcf 0xfd 0xec 0x1f
+# CHECK: ldaw r8, r7[-r11]
+0xcf 0xfd 0xec 0x27
# CHECK: mul r0, r4, r2
0xc2 0xf8 0xec 0x3f
@@ -610,8 +610,8 @@
# CHECK: ldw r11, cp[132]
0x84 0xe4
-# CHECK: ldw r11, cp[3444]
-0x35 0xf0 0xf4 0x6e
+# CHECK: ldw r11, cp[102741]
+0x64 0xf0 0x55 0xe5
# l6r instructions
More information about the llvm-commits
mailing list