diff options
author | Richard Osborne <richard@xmos.com> | 2013-01-27 21:26:02 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2013-01-27 21:26:02 +0000 |
commit | b719d8b1007f6b31ae6d1a66258a26e6a91749bc (patch) | |
tree | 2776cde6e601adad4cfa3cf2b0ff3285a05d98cf /test | |
parent | ec2589863b32da169240c4fa120ef1e3798615d4 (diff) | |
download | external_llvm-b719d8b1007f6b31ae6d1a66258a26e6a91749bc.zip external_llvm-b719d8b1007f6b31ae6d1a66258a26e6a91749bc.tar.gz external_llvm-b719d8b1007f6b31ae6d1a66258a26e6a91749bc.tar.bz2 |
[XCore] Add missing l2r 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@173629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/XCore/xcore.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/XCore/xcore.txt b/test/MC/Disassembler/XCore/xcore.txt index 03b2c9a..21b053b 100644 --- a/test/MC/Disassembler/XCore/xcore.txt +++ b/test/MC/Disassembler/XCore/xcore.txt @@ -275,6 +275,18 @@ # CHECK: settw res[r7], r2 0x9b 0xff 0xec 0x27 +# CHECK: getd r8, res[r3] +0x53 0xff 0xec 0x1f + +# CHECK: getn r10, res[r11] +0xbb 0xff 0xec 0x37 + +# CHECK: testlcl r2, res[r0] +0xc8 0xfe 0xec 0x27 + +# CHECK: setn res[r9], r7 +0x6d 0xff 0xec 0x37 + # 3r instructions # CHECK: add r1, r2, r3 |