diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-27 22:09:30 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-27 22:09:30 +0000 |
commit | 29e85bc7285337973924501cad7e7effafd91e65 (patch) | |
tree | f0927aecb94c27f416409ce7de1d1664bc4c3ad4 | |
parent | 24a541b79fb9694b6edf19ee288b7c9063653512 (diff) | |
download | external_llvm-29e85bc7285337973924501cad7e7effafd91e65.zip external_llvm-29e85bc7285337973924501cad7e7effafd91e65.tar.gz external_llvm-29e85bc7285337973924501cad7e7effafd91e65.tar.bz2 |
ARM assembly parsing and encoding tests for UQASX and UQSAX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136280 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-arm-instructions.s | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index 54b0951..1973614 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -2110,3 +2110,24 @@ _func: @ CHECK: uqadd16gt r4, r7, r9 @ encoding: [0x19,0x4f,0x67,0xc6] @ CHECK: uqadd8 r3, r4, r8 @ encoding: [0x98,0x3f,0x64,0xe6] @ CHECK: uqadd8le r8, r1, r2 @ encoding: [0x92,0x8f,0x61,0xd6] + + +@------------------------------------------------------------------------------ +@ UQASX +@------------------------------------------------------------------------------ + uqasx r2, r4, r1 + uqasxhi r5, r2, r9 + +@ CHECK: uqasx r2, r4, r1 @ encoding: [0x31,0x2f,0x64,0xe6] +@ CHECK: uqasxhi r5, r2, r9 @ encoding: [0x39,0x5f,0x62,0x86] + + +@------------------------------------------------------------------------------ +@ UQSAX +@------------------------------------------------------------------------------ + uqsax r1, r3, r7 + uqsaxal r3, r6, r2 + +@ CHECK: uqsax r1, r3, r7 @ encoding: [0x57,0x1f,0x63,0xe6] +@ CHECK: uqsax r3, r6, r2 @ encoding: [0x52,0x3f,0x66,0xe6] + |