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

Jim Grosbach grosbach at apple.com
Mon Sep 19 16:06:39 PDT 2011


Author: grosbach
Date: Mon Sep 19 18:06:38 2011
New Revision: 140086

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

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=140086&r1=140085&r2=140086&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Mon Sep 19 18:06:38 2011
@@ -2704,3 +2704,15 @@
 @ CHECK: uasx	r9, r12, r0             @ encoding: [0xac,0xfa,0x40,0xf9]
 @ CHECK: it	eq                      @ encoding: [0x08,0xbf]
 @ CHECK: uasxeq	r9, r12, r0             @ encoding: [0xac,0xfa,0x40,0xf9]
+
+
+ at ------------------------------------------------------------------------------
+@ UBFX
+ at ------------------------------------------------------------------------------
+        ubfx r4, r5, #16, #1
+        it gt
+        ubfxgt r4, r5, #16, #16
+
+@ CHECK: ubfx	r4, r5, #16, #1         @ encoding: [0xc5,0xf3,0x00,0x44]
+@ CHECK: it	gt                      @ encoding: [0xc8,0xbf]
+@ CHECK: ubfxgt	r4, r5, #16, #16        @ encoding: [0xc5,0xf3,0x0f,0x44]





More information about the llvm-commits mailing list