diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-20 00:31:57 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-20 00:31:57 +0000 |
commit | 400b624e02216dcbe1ec0c17963caa088b33c57a (patch) | |
tree | 581d52c97e60a259eb7f0ee43133448b5eeb1e21 /test/MC | |
parent | 6053cd956fa6c781a4ee05cbc99ab15db3cf3d13 (diff) |
Thumb2 assembly parsing and encoding for USUB8/USUB16.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 8c69056ac7..eb2ec62d52 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2930,3 +2930,19 @@ _func: @ CHECK: usax r2, r3, r4 @ encoding: [0xe3,0xfa,0x44,0xf2] @ CHECK: it ne @ encoding: [0x18,0xbf] @ CHECK: usaxne r6, r1, r9 @ encoding: [0xe1,0xfa,0x49,0xf6] + + +@------------------------------------------------------------------------------ +@ USUB16/USUB8 +@------------------------------------------------------------------------------ + usub16 r4, r2, r7 + usub8 r1, r8, r5 + ite hi + usub16hi r1, r1, r3 + usub8ls r9, r2, r3 + +@ CHECK: usub16 r4, r2, r7 @ encoding: [0xd2,0xfa,0x47,0xf4] +@ CHECK: usub8 r1, r8, r5 @ encoding: [0xc8,0xfa,0x45,0xf1] +@ CHECK: ite hi @ encoding: [0x8c,0xbf] +@ CHECK: usub16hi r1, r1, r3 @ encoding: [0xd1,0xfa,0x43,0xf1] +@ CHECK: usub8ls r9, r2, r3 @ encoding: [0xc2,0xfa,0x43,0xf9] |