[llvm-commits] [llvm] r123937 - in /llvm/trunk/test/MC/ARM: arm_instructions.s thumb2.s

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Thu Jan 20 11:27:16 PST 2011


Author: bruno
Date: Thu Jan 20 13:27:16 2011
New Revision: 123937

URL: http://llvm.org/viewvc/llvm-project?rev=123937&view=rev
Log:
Add testcases for clz encoding

Modified:
    llvm/trunk/test/MC/ARM/arm_instructions.s
    llvm/trunk/test/MC/ARM/thumb2.s

Modified: llvm/trunk/test/MC/ARM/arm_instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/arm_instructions.s?rev=123937&r1=123936&r2=123937&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/arm_instructions.s (original)
+++ llvm/trunk/test/MC/ARM/arm_instructions.s Thu Jan 20 13:27:16 2011
@@ -161,3 +161,6 @@
 
 @ CHECK: clrex @ encoding: [0x1f,0xf0,0x7f,0xf5]
         clrex
+
+@ CHECK: clz  r9, r0 @ encoding: [0x10,0x9f,0x6f,0xe1]
+        clz  r9, r0

Modified: llvm/trunk/test/MC/ARM/thumb2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/thumb2.s?rev=123937&r1=123936&r2=123937&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/thumb2.s (original)
+++ llvm/trunk/test/MC/ARM/thumb2.s Thu Jan 20 13:27:16 2011
@@ -199,3 +199,6 @@
 
 @ CHECK: clrex @ encoding: [0xbf,0xf3,0x2f,0x8f]
         clrex
+
+@ CHECK: clz  r9, r0 @ encoding: [0xb0,0xfa,0x80,0xf9]
+        clz  r9, r0





More information about the llvm-commits mailing list