Test for 146516
authorJim Grosbach <grosbach@apple.com>
Tue, 13 Dec 2011 21:06:59 +0000 (21:06 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 13 Dec 2011 21:06:59 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146517 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ARM/basic-thumb2-instructions.s

index 68ca277db39e88232151e8086bebcf7d1f171ce8..9577ea6b05f3a9ef5fb052fec35d06e2ad12470b 100644 (file)
@@ -1670,6 +1670,8 @@ _func:
         rsb r1, r1, #0xff
         rsb r11, r11, #0
         rsb r9, #0
+        rsbs r3, r1, #0
+        rsb r3, r1, #0
 
 @ CHECK: rsb.w r2, r5, #1044480        @ encoding: [0xc5,0xf5,0x7f,0x22]
 @ CHECK: rsbs.w        r3, r12, #15            @ encoding: [0xdc,0xf1,0x0f,0x03]
@@ -1677,6 +1679,8 @@ _func:
 @ 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]
+@ CHECK: rsbs  r3, r1, #0              @ encoding: [0x4b,0x42]
+@ CHECK: rsb.w r3, r1, #0              @ encoding: [0xc1,0xf1,0x00,0x03]
 
 
 @------------------------------------------------------------------------------