diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-09 00:00:35 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-09 00:00:35 +0000 |
commit | c04a9dea7873bcf2a1e68b9eba9b5854021e989a (patch) | |
tree | f2560778aaa92a26412c337cdcc516eba692b185 /test/MC | |
parent | 7c6b608a7cb33e628e3906a8395a7ba47a6b966b (diff) | |
download | external_llvm-c04a9dea7873bcf2a1e68b9eba9b5854021e989a.zip external_llvm-c04a9dea7873bcf2a1e68b9eba9b5854021e989a.tar.gz external_llvm-c04a9dea7873bcf2a1e68b9eba9b5854021e989a.tar.bz2 |
Correct the encoding for VRSRA and VSRA instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/neon-shift-encoding.s | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/MC/ARM/neon-shift-encoding.s b/test/MC/ARM/neon-shift-encoding.s index 8b249ae..898c31d 100644 --- a/test/MC/ARM/neon-shift-encoding.s +++ b/test/MC/ARM/neon-shift-encoding.s @@ -65,6 +65,38 @@ _foo: vshr.s32 q8, q8, #31 @ CHECK: vshr.s64 q8, q8, #63 @ encoding: [0xf0,0x00,0xc1,0xf2] vshr.s64 q8, q8, #63 +@ CHECK: vsra.u8 d16, d16, #7 @ encoding: [0x30,0x01,0xc9,0xf3] + vsra.u8 d16, d16, #7 +@ CHECK: vsra.u16 d16, d16, #15 @ encoding: [0x30,0x01,0xd1,0xf3] + vsra.u16 d16, d16, #15 +@ CHECK: vsra.u32 d16, d16, #31 @ encoding: [0x30,0x01,0xe1,0xf3] + vsra.u32 d16, d16, #31 +@ CHECK: vsra.u64 d16, d16, #63 @ encoding: [0xb0,0x01,0xc1,0xf3] + vsra.u64 d16, d16, #63 +@ CHECK: vsra.u8 q8, q8, #7 @ encoding: [0x70,0x01,0xc9,0xf3] + vsra.u8 q8, q8, #7 +@ CHECK: vsra.u16 q8, q8, #15 @ encoding: [0x70,0x01,0xd1,0xf3] + vsra.u16 q8, q8, #15 +@ CHECK: vsra.u32 q8, q8, #31 @ encoding: [0x70,0x01,0xe1,0xf3] + vsra.u32 q8, q8, #31 +@ CHECK: vsra.u64 q8, q8, #63 @ encoding: [0xf0,0x01,0xc1,0xf3] + vsra.u64 q8, q8, #63 +@ CHECK: vsra.s8 d16, d16, #7 @ encoding: [0x30,0x01,0xc9,0xf2] + vsra.s8 d16, d16, #7 +@ CHECK: vsra.s16 d16, d16, #15 @ encoding: [0x30,0x01,0xd1,0xf2] + vsra.s16 d16, d16, #15 +@ CHECK: vsra.s32 d16, d16, #31 @ encoding: [0x30,0x01,0xe1,0xf2] + vsra.s32 d16, d16, #31 +@ CHECK: vsra.s64 d16, d16, #63 @ encoding: [0xb0,0x01,0xc1,0xf2] + vsra.s64 d16, d16, #63 +@ CHECK: vsra.s8 q8, q8, #7 @ encoding: [0x70,0x01,0xc9,0xf2] + vsra.s8 q8, q8, #7 +@ CHECK: vsra.s16 q8, q8, #15 @ encoding: [0x70,0x01,0xd1,0xf2] + vsra.s16 q8, q8, #15 +@ CHECK: vsra.s32 q8, q8, #31 @ encoding: [0x70,0x01,0xe1,0xf2] + vsra.s32 q8, q8, #31 +@ CHECK: vsra.s64 q8, q8, #63 @ encoding: [0xf0,0x01,0xc1,0xf2] + vsra.s64 q8, q8, #63 @ CHECK: vshll.s8 q8, d16, #7 @ encoding: [0x30,0x0a,0xcf,0xf2] vshll.s8 q8, d16, #7 @ CHECK: vshll.s16 q8, d16, #15 @ encoding: [0x30,0x0a,0xdf,0xf2] |