aboutsummaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2013-04-03 20:07:06 +0000
committerRichard Osborne <richard@xmos.com>2013-04-03 20:07:06 +0000
commitef6343347a9269f17c1c723d6afaa28a5e5a5714 (patch)
tree4e9b792bb1203b6039a96bf16846b3ac0aba7a32 /test/MC
parent76e70f340c09ba759ad96d8dfe416b64f24bc287 (diff)
[XCore] Update disassembler test to improve coverage of the instructions.
Previously some instructions were unintentionally covered twice and others were not covered at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/XCore/xcore.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/MC/Disassembler/XCore/xcore.txt b/test/MC/Disassembler/XCore/xcore.txt
index 8ad75884f4..eae9bedc0a 100644
--- a/test/MC/Disassembler/XCore/xcore.txt
+++ b/test/MC/Disassembler/XCore/xcore.txt
@@ -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