diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-20 00:28:25 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-20 00:28:25 +0000 |
commit | 653419fff0420a6c9cfc953c135f1e9dc3420a45 (patch) | |
tree | 828511a809b75d3c16b66e9f16f296ba7aedcbff /test/MC | |
parent | a7e5b01fe1156050ac9174a421ecf90911e1949c (diff) | |
download | llvm-653419fff0420a6c9cfc953c135f1e9dc3420a45.tar.gz llvm-653419fff0420a6c9cfc953c135f1e9dc3420a45.tar.bz2 llvm-653419fff0420a6c9cfc953c135f1e9dc3420a45.tar.xz |
Thumb2 assembly parsing and encoding for USAT16.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index ea91b2b244..3732fd264e 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2902,3 +2902,13 @@ _func: @ CHECK: usat r8, #5, r10, lsl #31 @ encoding: [0x8a,0xf3,0xc5,0x78] @ CHECK: usat r8, #31, r10, asr #32 @ encoding: [0xaa,0xf3,0x1f,0x08] @ CHECK: usat r8, #16, r10, asr #1 @ encoding: [0xaa,0xf3,0x50,0x08] + + +@------------------------------------------------------------------------------ +@ USAT16 +@------------------------------------------------------------------------------ + usat16 r2, #2, r7 + usat16 r3, #15, r5 + +@ CHECK: usat16 r2, #2, r7 @ encoding: [0xa7,0xf3,0x02,0x02] +@ CHECK: usat16 r3, #15, r5 @ encoding: [0xa5,0xf3,0x0f,0x03] |