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

Jim Grosbach grosbach at apple.com
Wed Sep 14 12:15:15 PDT 2011


Author: grosbach
Date: Wed Sep 14 14:15:15 2011
New Revision: 139715

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

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=139715&r1=139714&r2=139715&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Wed Sep 14 14:15:15 2011
@@ -1029,6 +1029,19 @@
 @ CHECK: movne.w r1, #12                @ encoding: [0x4f,0xf0,0x0c,0x01]
 
 
+ at ------------------------------------------------------------------------------
+@ MOVT
+ at ------------------------------------------------------------------------------
+        movt r3, #7
+        movt r6, #0xffff
+        it eq
+        movteq r4, #0xff0
+
+@ CHECK: movt	r3, #7                  @ encoding: [0xc0,0xf2,0x07,0x03]
+@ CHECK: movt	r6, #65535              @ encoding: [0xcf,0xf6,0xff,0x76]
+@ CHECK: it	eq                      @ encoding: [0x08,0xbf]
+@ CHECK: movteq	r4, #4080               @ encoding: [0xc0,0xf6,0xf0,0x74]
+
 
 @------------------------------------------------------------------------------
 @ IT





More information about the llvm-commits mailing list