[llvm-commits] [llvm] r139393 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Fri Sep 9 13:02:15 PDT 2011
Author: grosbach
Date: Fri Sep 9 15:02:15 2011
New Revision: 139393
URL: http://llvm.org/viewvc/llvm-project?rev=139393&view=rev
Log:
Thumb2 assembly parsing and encoding for LDRT.
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=139393&r1=139392&r2=139393&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Fri Sep 9 15:02:15 2011
@@ -864,6 +864,20 @@
@------------------------------------------------------------------------------
+@ LDRT
+ at ------------------------------------------------------------------------------
+ ldrt r1, [r2]
+ ldrt r2, [r6, #0]
+ ldrt r3, [r7, #3]
+ ldrt r4, [r9, #255]
+
+@ CHECK: ldrt r1, [r2] @ encoding: [0x52,0xf8,0x00,0x1e]
+@ CHECK: ldrt r2, [r6] @ encoding: [0x56,0xf8,0x00,0x2e]
+@ CHECK: ldrt r3, [r7, #3] @ encoding: [0x57,0xf8,0x03,0x3e]
+@ CHECK: ldrt r4, [r9, #255] @ encoding: [0x59,0xf8,0xff,0x4e]
+
+
+ at ------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------
@ Test encodings of a few full IT blocks, not just the IT instruction
More information about the llvm-commits
mailing list