diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-11 21:39:41 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-11 21:39:41 +0000 |
commit | 2ef8241ce7898d49f882e2124064ea953bf9f512 (patch) | |
tree | 8b0396719f064ab36ea819cd31dc141c8b7539fd | |
parent | cbfc044acd722d14d0687c9cf099f3dca45e26d5 (diff) | |
download | external_llvm-2ef8241ce7898d49f882e2124064ea953bf9f512.zip external_llvm-2ef8241ce7898d49f882e2124064ea953bf9f512.tar.gz external_llvm-2ef8241ce7898d49f882e2124064ea953bf9f512.tar.bz2 |
ARM STRHT assembly parsing and encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137358 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/arm-memory-instructions.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/ARM/arm-memory-instructions.s b/test/MC/ARM/arm-memory-instructions.s index ae88482..18fec83 100644 --- a/test/MC/ARM/arm-memory-instructions.s +++ b/test/MC/ARM/arm-memory-instructions.s @@ -462,3 +462,16 @@ _func: @ 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] + +@------------------------------------------------------------------------------ +@ STRHT +@------------------------------------------------------------------------------ + 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] |