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 | 42f7b647fa3f16d2fc9707b79504afa0f8a31707 (patch) | |
tree | fe149bd7f2d2061ecf4f7c237b817de27b4b243a /llvm | |
parent | e0493ade6553162e121ddcadfab5353e7eeaf7af (diff) | |
download | bcm5719-llvm-42f7b647fa3f16d2fc9707b79504afa0f8a31707.tar.gz bcm5719-llvm-42f7b647fa3f16d2fc9707b79504afa0f8a31707.zip |
Thumb2 assembly parsing and encoding for USAT16.
llvm-svn: 140118
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/MC/ARM/basic-thumb2-instructions.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s index ea91b2b244e..3732fd264e5 100644 --- a/llvm/test/MC/ARM/basic-thumb2-instructions.s +++ b/llvm/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] |