[llvm-commits] [llvm] r137358 - /llvm/trunk/test/MC/ARM/arm-memory-instructions.s
Jim Grosbach
grosbach at apple.com
Thu Aug 11 14:39:42 PDT 2011
Author: grosbach
Date: Thu Aug 11 16:39:41 2011
New Revision: 137358
URL: http://llvm.org/viewvc/llvm-project?rev=137358&view=rev
Log:
ARM STRHT assembly parsing and encoding.
Modified:
llvm/trunk/test/MC/ARM/arm-memory-instructions.s
Modified: llvm/trunk/test/MC/ARM/arm-memory-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/arm-memory-instructions.s?rev=137358&r1=137357&r2=137358&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/arm-memory-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/arm-memory-instructions.s Thu Aug 11 16:39:41 2011
@@ -462,3 +462,16 @@
@ CHECK: strh r1, [r2, -r1]! @ encoding: [0xb1,0x10,0x22,0xe1]
@ CHECK: strh r9, [r7], r2 @ encoding: [0xb2,0x90,0x87,0xe0]
@ CHECK: strh r4, [r3], -r2 @ encoding: [0xb2,0x40,0x03,0xe0]
+
+ at ------------------------------------------------------------------------------
+@ STRHT
+ at ------------------------------------------------------------------------------
+ strht r2, [r5], #76
+ strht r8, [r1], #-25
+ strht r5, [r3], r4
+ strht r6, [r8], -r0
+
+@ CHECK: strht r2, [r5], #76 @ encoding: [0xbc,0x24,0xe5,0xe0]
+@ CHECK: strht r8, [r1], #-25 @ encoding: [0xb9,0x81,0x61,0xe0]
+@ CHECK: strht r5, [r3], r4 @ encoding: [0xb4,0x50,0xa3,0xe0]
+@ CHECK: strht r6, [r8], -r0 @ encoding: [0xb0,0x60,0x28,0xe0]
More information about the llvm-commits
mailing list