Thumb2 assembly parsing and encoding for STRT.
authorJim Grosbach <grosbach@apple.com>
Fri, 16 Sep 2011 22:27:12 +0000 (22:27 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 16 Sep 2011 22:27:12 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139963 91177308-0d34-0410-b5e6-96231b3b80d8

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

index a976c7fa3e0ed33e8b985ed37c60a288a900777a..3d86850ced819d6f024891c8ec9fea6ecc87bce0 100644 (file)
@@ -2376,6 +2376,20 @@ _func:
 @ CHECK: strht r1, [r8, #255]          @ encoding: [0x28,0xf8,0xff,0x1e]
 
 
+@------------------------------------------------------------------------------
+@ STRT
+@------------------------------------------------------------------------------
+        strt r1, [r2]
+        strt r1, [r8, #0]
+        strt r1, [r8, #3]
+        strt r1, [r8, #255]
+
+@ CHECK: strt  r1, [r2]                @ encoding: [0x42,0xf8,0x00,0x1e]
+@ CHECK: strt  r1, [r8]                @ encoding: [0x48,0xf8,0x00,0x1e]
+@ CHECK: strt  r1, [r8, #3]            @ encoding: [0x48,0xf8,0x03,0x1e]
+@ CHECK: strt  r1, [r8, #255]          @ encoding: [0x48,0xf8,0xff,0x1e]
+
+
 @------------------------------------------------------------------------------
 @ SUB (register)
 @------------------------------------------------------------------------------