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

Jim Grosbach grosbach at apple.com
Thu Sep 15 14:58:43 PDT 2011


Author: grosbach
Date: Thu Sep 15 16:58:42 2011
New Revision: 139858

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

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=139858&r1=139857&r2=139858&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Thu Sep 15 16:58:42 2011
@@ -1643,6 +1643,18 @@
 
 
 @------------------------------------------------------------------------------
+@ SBFX
+ at ------------------------------------------------------------------------------
+        sbfx r4, r5, #16, #1
+        it gt
+        sbfxgt r4, r5, #16, #16
+
+@ CHECK: sbfx	r4, r5, #16, #1         @ encoding: [0x45,0xf3,0x00,0x44]
+@ CHECK: it	gt                      @ encoding: [0xc8,0xbf]
+@ CHECK: sbfxgt	r4, r5, #16, #16        @ encoding: [0x45,0xf3,0x0f,0x44]
+
+
+ at ------------------------------------------------------------------------------
 @ SUB (register)
 @------------------------------------------------------------------------------
         sub.w r5, r2, r12, rrx





More information about the llvm-commits mailing list