aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-12-13 20:50:38 +0000
committerJim Grosbach <grosbach@apple.com>2011-12-13 20:50:38 +0000
commit55b02f28c1a2960ebb88cf5019cc5b36bb2eabf4 (patch)
tree6f495baffe1700fa175a887eaddc20bc98efc134 /test/MC
parent0f293de207fa0e9461a9dbee95bed9a6a2c52f76 (diff)
downloadexternal_llvm-55b02f28c1a2960ebb88cf5019cc5b36bb2eabf4.zip
external_llvm-55b02f28c1a2960ebb88cf5019cc5b36bb2eabf4.tar.gz
external_llvm-55b02f28c1a2960ebb88cf5019cc5b36bb2eabf4.tar.bz2
ARM thumb2 parsing of "rsb rd, rn, #0".
rdar://10549741 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/ARM/basic-thumb2-instructions.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index c3500bb..68ca277 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -1668,11 +1668,15 @@ _func:
rsbs r3, r12, #0xf
rsb r1, #0xff
rsb r1, r1, #0xff
+ rsb r11, r11, #0
+ rsb r9, #0
@ CHECK: rsb.w r2, r5, #1044480 @ encoding: [0xc5,0xf5,0x7f,0x22]
@ CHECK: rsbs.w r3, r12, #15 @ encoding: [0xdc,0xf1,0x0f,0x03]
@ CHECK: rsb.w r1, r1, #255 @ encoding: [0xc1,0xf1,0xff,0x01]
@ CHECK: rsb.w r1, r1, #255 @ encoding: [0xc1,0xf1,0xff,0x01]
+@ CHECK: rsb.w r11, r11, #0 @ encoding: [0xcb,0xf1,0x00,0x0b]
+@ CHECK: rsb.w r9, r9, #0 @ encoding: [0xc9,0xf1,0x00,0x09]
@------------------------------------------------------------------------------