[llvm-commits] [llvm] r139963 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s

Jim Grosbach grosbach at apple.com
Fri Sep 16 15:27:12 PDT 2011


Author: grosbach
Date: Fri Sep 16 17:27:12 2011
New Revision: 139963

URL: http://llvm.org/viewvc/llvm-project?rev=139963&view=rev
Log:
Thumb2 assembly parsing and encoding for STRT.

Modified:
    llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s

Modified: llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s?rev=139963&r1=139962&r2=139963&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Fri Sep 16 17:27:12 2011
@@ -2377,6 +2377,20 @@
 
 
 @------------------------------------------------------------------------------
+@ STRT
+ at ------------------------------------------------------------------------------
+        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]
+
+
+ at ------------------------------------------------------------------------------
 @ SUB (register)
 @------------------------------------------------------------------------------
         sub.w r5, r2, r12, rrx





More information about the llvm-commits mailing list