[llvm-commits] [llvm] r139957 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Fri Sep 16 15:15:51 PDT 2011
Author: grosbach
Date: Fri Sep 16 17:15:51 2011
New Revision: 139957
URL: http://llvm.org/viewvc/llvm-project?rev=139957&view=rev
Log:
Thumb2 assembly parsing and encoding for STRBT.
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=139957&r1=139956&r2=139957&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:15:51 2011
@@ -2253,6 +2253,20 @@
@------------------------------------------------------------------------------
+@ STRBT
+ at ------------------------------------------------------------------------------
+ strbt r1, [r2]
+ strbt r1, [r8, #0]
+ strbt r1, [r8, #3]
+ strbt r1, [r8, #255]
+
+@ CHECK: strbt r1, [r2] @ encoding: [0x02,0xf8,0x00,0x1e]
+@ CHECK: strbt r1, [r8] @ encoding: [0x08,0xf8,0x00,0x1e]
+@ CHECK: strbt r1, [r8, #3] @ encoding: [0x08,0xf8,0x03,0x1e]
+@ CHECK: strbt r1, [r8, #255] @ encoding: [0x08,0xf8,0xff,0x1e]
+
+
+ at ------------------------------------------------------------------------------
@ STRH(immediate)
@------------------------------------------------------------------------------
strh r5, [r5, #-4]
More information about the llvm-commits
mailing list