diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-11-25 05:38:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-11-25 05:38:48 +0000 |
commit | e8bb6e26b83e08631ad336bb0d8076787b858c34 (patch) | |
tree | 39b8a0ef4c4655e7b1cfd321eb8d68b83e0e56dd /test/MC | |
parent | 83a5c7898e26166199ef8a55527d176b5dc4cb04 (diff) | |
download | external_llvm-e8bb6e26b83e08631ad336bb0d8076787b858c34.zip external_llvm-e8bb6e26b83e08631ad336bb0d8076787b858c34.tar.gz external_llvm-e8bb6e26b83e08631ad336bb0d8076787b858c34.tar.bz2 |
Merging r195330:
------------------------------------------------------------------------
r195330 | apazos | 2013-11-21 00:16:15 -0800 (Thu, 21 Nov 2013) | 5 lines
Implemented Neon scalar vdup_lane intrinsics.
Fixed scalar dup alias and added test case.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AArch64/neon-scalar-dup.s | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/MC/AArch64/neon-scalar-dup.s b/test/MC/AArch64/neon-scalar-dup.s index 64366f2..77c638d 100644 --- a/test/MC/AArch64/neon-scalar-dup.s +++ b/test/MC/AArch64/neon-scalar-dup.s @@ -27,3 +27,29 @@ // CHECK: dup d3, v5.d[0] // encoding: [0xa3,0x04,0x08,0x5e] // CHECK: dup d6, v5.d[1] // encoding: [0xa6,0x04,0x18,0x5e] +//------------------------------------------------------------------------------ +// Aliases for Duplicate element (scalar) +//------------------------------------------------------------------------------ + mov b0, v0.b[15] + mov b1, v0.b[7] + mov b17, v0.b[0] + mov h5, v31.h[7] + mov h9, v1.h[4] + mov h11, v17.h[0] + mov s2, v2.s[3] + mov s4, v21.s[0] + mov s31, v21.s[2] + mov d3, v5.d[0] + mov d6, v5.d[1] + +// CHECK: dup b0, v0.b[15] // encoding: [0x00,0x04,0x1f,0x5e] +// CHECK: dup b1, v0.b[7] // encoding: [0x01,0x04,0x0f,0x5e] +// CHECK: dup b17, v0.b[0] // encoding: [0x11,0x04,0x01,0x5e] +// CHECK: dup h5, v31.h[7] // encoding: [0xe5,0x07,0x1e,0x5e] +// CHECK: dup h9, v1.h[4] // encoding: [0x29,0x04,0x12,0x5e] +// CHECK: dup h11, v17.h[0] // encoding: [0x2b,0x06,0x02,0x5e] +// CHECK: dup s2, v2.s[3] // encoding: [0x42,0x04,0x1c,0x5e] +// CHECK: dup s4, v21.s[0] // encoding: [0xa4,0x06,0x04,0x5e] +// CHECK: dup s31, v21.s[2] // encoding: [0xbf,0x06,0x14,0x5e] +// CHECK: dup d3, v5.d[0] // encoding: [0xa3,0x04,0x08,0x5e] +// CHECK: dup d6, v5.d[1] // encoding: [0xa6,0x04,0x18,0x5e] |