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

Jim Grosbach grosbach at apple.com
Thu Sep 15 12:52:43 PDT 2011


Author: grosbach
Date: Thu Sep 15 14:52:43 2011
New Revision: 139831

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

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=139831&r1=139830&r2=139831&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Thu Sep 15 14:52:43 2011
@@ -1512,6 +1512,22 @@
 
 
 @------------------------------------------------------------------------------
+@ RRX
+ at ------------------------------------------------------------------------------
+        rrx r1, r2
+        rrxs r1, r2
+        ite lt
+        rrxlt r9, r12
+        rrxsge r8, r3
+
+@ CHECK: rrx	r1, r2                  @ encoding: [0x4f,0xea,0x32,0x01]
+@ CHECK: rrxs	r1, r2                  @ encoding: [0x5f,0xea,0x32,0x01]
+@ CHECK: ite	lt                      @ encoding: [0xb4,0xbf]
+@ CHECK: rrxlt	r9, r12                 @ encoding: [0x4f,0xea,0x3c,0x09]
+@ CHECK: rrxsge	r8, r3                  @ encoding: [0x5f,0xea,0x33,0x08]
+
+
+ at ------------------------------------------------------------------------------
 @ SUB (register)
 @------------------------------------------------------------------------------
         sub.w r5, r2, r12, rrx





More information about the llvm-commits mailing list