[llvm-commits] [llvm] r139390 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Fri Sep 9 12:49:07 PDT 2011
Author: grosbach
Date: Fri Sep 9 14:49:06 2011
New Revision: 139390
URL: http://llvm.org/viewvc/llvm-project?rev=139390&view=rev
Log:
Thumb2 assembly parsing and encoding for LDRSBT.
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=139390&r1=139389&r2=139390&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s Fri Sep 9 14:49:06 2011
@@ -781,6 +781,20 @@
@------------------------------------------------------------------------------
+@ LDRSBT
+ at ------------------------------------------------------------------------------
+ ldrsbt r1, [r2]
+ ldrsbt r1, [r8, #0]
+ ldrsbt r1, [r8, #3]
+ ldrsbt r1, [r8, #255]
+
+@ CHECK: ldrsbt r1, [r2] @ encoding: [0x12,0xf9,0x00,0x1e]
+@ CHECK: ldrsbt r1, [r8] @ encoding: [0x18,0xf9,0x00,0x1e]
+@ CHECK: ldrsbt r1, [r8, #3] @ encoding: [0x18,0xf9,0x03,0x1e]
+@ CHECK: ldrsbt r1, [r8, #255] @ encoding: [0x18,0xf9,0xff,0x1e]
+
+
+ at ------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------
@ Test encodings of a few full IT blocks, not just the IT instruction
More information about the llvm-commits
mailing list