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

Jim Grosbach grosbach at apple.com
Fri Sep 16 15:19:38 PDT 2011


Author: grosbach
Date: Fri Sep 16 17:19:38 2011
New Revision: 139960

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

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=139960&r1=139959&r2=139960&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Fri Sep 16 17:19:38 2011
@@ -2267,6 +2267,24 @@
 
 
 @------------------------------------------------------------------------------
+@ STRD
+ at ------------------------------------------------------------------------------
+        strd r3, r5, [r6, #24]
+        strd r3, r5, [r6, #24]!
+        strd r3, r5, [r6], #4
+        strd r3, r5, [r6], #-8
+        strd r3, r5, [r6]
+        strd r8, r1, [r3, #0]
+
+@ CHECK: strd	r3, r5, [r6, #24]       @ encoding: [0xc6,0xe9,0x06,0x35]
+@ CHECK: strd	r3, r5, [r6, #24]!      @ encoding: [0xe6,0xe9,0x06,0x35]
+@ CHECK: strd	r3, r5, [r6], #4        @ encoding: [0xe6,0xe8,0x01,0x35]
+@ CHECK: strd	r3, r5, [r6], #-8       @ encoding: [0x66,0xe8,0x02,0x35]
+@ CHECK: strd	r3, r5, [r6]            @ encoding: [0xc6,0xe9,0x00,0x35]
+@ CHECK: strd	r8, r1, [r3]            @ encoding: [0xc3,0xe9,0x00,0x81]
+
+
+ at ------------------------------------------------------------------------------
 @ STRH(immediate)
 @------------------------------------------------------------------------------
         strh r5, [r5, #-4]





More information about the llvm-commits mailing list