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

Jim Grosbach grosbach at apple.com
Tue Sep 6 13:44:17 PDT 2011


Author: grosbach
Date: Tue Sep  6 15:44:17 2011
New Revision: 139177

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

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=139177&r1=139176&r2=139177&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Tue Sep  6 15:44:17 2011
@@ -305,6 +305,18 @@
 
 
 @------------------------------------------------------------------------------
+@ CLZ
+ at ------------------------------------------------------------------------------
+        clz r1, r2
+        it eq
+        clzeq r1, r2
+
+@ CHECK: clz	r1, r2                  @ encoding: [0xb2,0xfa,0x82,0xf1]
+@ CHECK: it	eq                      @ encoding: [0x08,0xbf]
+@ CHECK: clzeq	r1, r2                  @ encoding: [0xb2,0xfa,0x82,0xf1]
+
+
+ at ------------------------------------------------------------------------------
 @ IT
 @------------------------------------------------------------------------------
 @ Test encodings of a few full IT blocks, not just the IT instruction





More information about the llvm-commits mailing list