diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-09 00:33:17 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-09 00:33:17 +0000 |
commit | 620d0cc7ac8319fe66168288f8ca0509f87c46c1 (patch) | |
tree | 4ae18aeb2c462fb27549ec1ef28f2f5339f214d1 /test/MC | |
parent | f46aa914c8bd7995409ac7034e54c8b8c38c1888 (diff) | |
download | external_llvm-620d0cc7ac8319fe66168288f8ca0509f87c46c1.zip external_llvm-620d0cc7ac8319fe66168288f8ca0509f87c46c1.tar.gz external_llvm-620d0cc7ac8319fe66168288f8ca0509f87c46c1.tar.bz2 |
* Correct encoding for VSRI.
* Add tests for VSRI and VSLI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127297 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 898c31d..a7a1b83 100644 --- a/test/MC/ARM/neon-shift-encoding.s +++ b/test/MC/ARM/neon-shift-encoding.s @@ -97,6 +97,38 @@ _foo: vsra.s32 q8, q8, #31 @ CHECK: vsra.s64 q8, q8, #63 @ encoding: [0xf0,0x01,0xc1,0xf2] vsra.s64 q8, q8, #63 +@ CHECK: vsri.8 d16, d16, #7 @ encoding: [0x30,0x04,0xc9,0xf3] + vsri.8 d16, d16, #7 +@ CHECK: vsri.16 d16, d16, #15 @ encoding: [0x30,0x04,0xd1,0xf3] + vsri.16 d16, d16, #15 +@ CHECK: vsri.32 d16, d16, #31 @ encoding: [0x30,0x04,0xe1,0xf3] + vsri.32 d16, d16, #31 +@ CHECK: vsri.64 d16, d16, #63 @ encoding: [0xb0,0x04,0xc1,0xf3] + vsri.64 d16, d16, #63 +@ CHECK: vsri.8 q8, q8, #7 @ encoding: [0x70,0x04,0xc9,0xf3] + vsri.8 q8, q8, #7 +@ CHECK: vsri.16 q8, q8, #15 @ encoding: [0x70,0x04,0xd1,0xf3] + vsri.16 q8, q8, #15 +@ CHECK: vsri.32 q8, q8, #31 @ encoding: [0x70,0x04,0xe1,0xf3] + vsri.32 q8, q8, #31 +@ CHECK: vsri.64 q8, q8, #63 @ encoding: [0xf0,0x04,0xc1,0xf3] + vsri.64 q8, q8, #63 +@ CHECK: vsli.8 d16, d16, #7 @ encoding: [0x30,0x05,0xcf,0xf3] + vsli.8 d16, d16, #7 +@ CHECK: vsli.16 d16, d16, #15 @ encoding: [0x30,0x05,0xdf,0xf3] + vsli.16 d16, d16, #15 +@ CHECK: vsli.32 d16, d16, #31 @ encoding: [0x30,0x05,0xff,0xf3] + vsli.32 d16, d16, #31 +@ CHECK: vsli.64 d16, d16, #63 @ encoding: [0xb0,0x05,0xff,0xf3] + vsli.64 d16, d16, #63 +@ CHECK: vsli.8 q8, q8, #7 @ encoding: [0x70,0x05,0xcf,0xf3] + vsli.8 q8, q8, #7 +@ CHECK: vsli.16 q8, q8, #15 @ encoding: [0x70,0x05,0xdf,0xf3] + vsli.16 q8, q8, #15 +@ CHECK: vsli.32 q8, q8, #31 @ encoding: [0x70,0x05,0xff,0xf3] + vsli.32 q8, q8, #31 +@ CHECK: vsli.64 q8, q8, #63 @ encoding: [0xf0,0x05,0xff,0xf3] + vsli.64 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] |