summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2013-01-27 22:28:30 +0000
committerRichard Osborne <richard@xmos.com>2013-01-27 22:28:30 +0000
commit970a479c02a418726950580e13136acd2a2dc13f (patch)
tree21be0ccf3eb1b5b9753bfb60d01534bc776fe793 /test
parent1cc0d5a4311c2d4bc01051561549390307b789a1 (diff)
downloadllvm-970a479c02a418726950580e13136acd2a2dc13f.tar.gz
llvm-970a479c02a418726950580e13136acd2a2dc13f.tar.bz2
llvm-970a479c02a418726950580e13136acd2a2dc13f.tar.xz
[XCore] Add missing l2rus instructions.
These instructions are not targeted by the compiler but they are needed for the MC layer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/XCore/xcore.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/Disassembler/XCore/xcore.txt b/test/MC/Disassembler/XCore/xcore.txt
index 21b053be4d..f1ec31d932 100644
--- a/test/MC/Disassembler/XCore/xcore.txt
+++ b/test/MC/Disassembler/XCore/xcore.txt
@@ -403,6 +403,12 @@
# CHECK: ldaw r8, r2[-9]
0x09 0xfd 0xec 0xa7
+# CHECK: inpw r6, res[r1], 8
+0xe4 0xfc 0xee 0x97
+
+# CHECK: outpw res[r3], r0, 2
+0x0e 0xf8 0xed 0x97
+
# ru6 / lru6 instructions
# CHECK: bt r6, -5