[llvm-commits] [llvm] r136259 - /llvm/trunk/test/MC/ARM/basic-arm-instructions.s

Jim Grosbach grosbach at apple.com
Wed Jul 27 13:37:36 PDT 2011


Author: grosbach
Date: Wed Jul 27 15:37:36 2011
New Revision: 136259

URL: http://llvm.org/viewvc/llvm-project?rev=136259&view=rev
Log:
ARM assembly parsing and encoding tests for TEQ instruction.

Modified:
    llvm/trunk/test/MC/ARM/basic-arm-instructions.s

Modified: llvm/trunk/test/MC/ARM/basic-arm-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-arm-instructions.s?rev=136259&r1=136258&r2=136259&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-arm-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-arm-instructions.s Wed Jul 27 15:37:36 2011
@@ -1914,3 +1914,37 @@
                                         @ encoding: [0x72,0x28,0xbf,0xd6]
 @ CHECK: sxth	r9, r3, ror #24
                                         @ encoding: [0x73,0x9c,0xbf,0xe6]
+
+
+ at ------------------------------------------------------------------------------
+@ FIXME: TBB/TBH
+ at ------------------------------------------------------------------------------
+
+
+ at ------------------------------------------------------------------------------
+@ TEQ
+ at ------------------------------------------------------------------------------
+        teq r5, #0xf000
+        teq r4, r5
+        teq r4, r5, lsl #5
+        teq r4, r5, lsr #5
+        teq r4, r5, lsr #5
+        teq r4, r5, asr #5
+        teq r4, r5, ror #5
+        teq r6, r7, lsl r9
+        teq r6, r7, lsr r9
+        teq r6, r7, asr r9
+        teq r6, r7, ror r9
+
+@ CHECK: teq	r5, #61440              @ encoding: [0x0f,0x0a,0x35,0xe3]
+@ CHECK: teq	r4, r5                  @ encoding: [0x05,0x00,0x34,0xe1]
+@ CHECK: teq	r4, r5, lsl #5          @ encoding: [0x85,0x02,0x34,0xe1]
+@ CHECK: teq	r4, r5, lsr #5          @ encoding: [0xa5,0x02,0x34,0xe1]
+@ CHECK: teq	r4, r5, lsr #5          @ encoding: [0xa5,0x02,0x34,0xe1]
+@ CHECK: teq	r4, r5, asr #5          @ encoding: [0xc5,0x02,0x34,0xe1]
+@ CHECK: teq	r4, r5, ror #5          @ encoding: [0xe5,0x02,0x34,0xe1]
+@ CHECK: teq	r6, r7, lsl r9          @ encoding: [0x17,0x09,0x36,0xe1]
+@ CHECK: teq	r6, r7, lsr r9          @ encoding: [0x37,0x09,0x36,0xe1]
+@ CHECK: teq	r6, r7, asr r9          @ encoding: [0x57,0x09,0x36,0xe1]
+@ CHECK: teq	r6, r7, ror r9          @ encoding: [0x77,0x09,0x36,0xe1]
+





More information about the llvm-commits mailing list