aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2013-01-25 21:55:32 +0000
committerRichard Osborne <richard@xmos.com>2013-01-25 21:55:32 +0000
commitc47bd9899b639c3384268f871009259c2a94fba4 (patch)
treed5bf626d2c49ebd3db8ef4478b9f1e532ed26367 /test/MC
parentc655c43ba54990535cf7f374ed78f4fd5bdee093 (diff)
downloadexternal_llvm-c47bd9899b639c3384268f871009259c2a94fba4.zip
external_llvm-c47bd9899b639c3384268f871009259c2a94fba4.tar.gz
external_llvm-c47bd9899b639c3384268f871009259c2a94fba4.tar.bz2
Add instruction encodings / disassembly support for l4r instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/XCore/xcore.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/Disassembler/XCore/xcore.txt b/test/MC/Disassembler/XCore/xcore.txt
index fdc7696..e1cec70 100644
--- a/test/MC/Disassembler/XCore/xcore.txt
+++ b/test/MC/Disassembler/XCore/xcore.txt
@@ -472,3 +472,14 @@
# CHECK: lsub r1, r8, r7, r11, r5
0xcf 0xfd 0x85 0x0f
+
+# l4r instructions
+
+# CHECK: crc8 r6, r3, r4, r11
+0x73 0xfd 0xe6 0x07
+
+# CHECK: maccs r11, r8, r2, r4
+0xf8 0xfa 0xe8 0x0f
+
+# CHECK: maccu r0, r2, r5, r8
+0x44 0xfd 0xf2 0x07