[llvm-commits] [llvm] r139392 - /llvm/trunk/test/MC/ARM/basic-thumb2-instructions.s
Jim Grosbach
grosbach at apple.com
Fri Sep 9 13:01:18 PDT 2011
Author: grosbach
Date: Fri Sep 9 15:01:18 2011
New Revision: 139392
URL: http://llvm.org/viewvc/llvm-project?rev=139392&view=rev
Log:
Thumb2 assembly parsing and encoding for LDRSHT.
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=139392&r1=139391&r2=139392&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:01:18 2011
@@ -850,6 +850,20 @@
@------------------------------------------------------------------------------
+@ LDRSHT
+ at ------------------------------------------------------------------------------
+ ldrsht r1, [r2]
+ ldrsht r1, [r8, #0]
+ ldrsht r1, [r8, #3]
+ ldrsht r1, [r8, #255]
+
+@ CHECK: ldrsht r1, [r2] @ encoding: [0x32,0xf9,0x00,0x1e]
+@ CHECK: ldrsht r1, [r8] @ encoding: [0x38,0xf9,0x00,0x1e]
+@ CHECK: ldrsht r1, [r8, #3] @ encoding: [0x38,0xf9,0x03,0x1e]
+@ CHECK: ldrsht r1, [r8, #255] @ encoding: [0x38,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