diff options
author | Hao Liu <Hao.Liu@arm.com> | 2013-08-15 08:26:11 +0000 |
---|---|---|
committer | Hao Liu <Hao.Liu@arm.com> | 2013-08-15 08:26:11 +0000 |
commit | d9767021f83879429e930b068d1d6aef22285b33 (patch) | |
tree | 93c99311855843ce9f66f9990626667bbc9be5ab /test/MC/AArch64/neon-shift.s | |
parent | 46ceaf4ba64cdd0ac37578c0132cad39c9ea21c0 (diff) | |
download | external_llvm-d9767021f83879429e930b068d1d6aef22285b33.zip external_llvm-d9767021f83879429e930b068d1d6aef22285b33.tar.gz external_llvm-d9767021f83879429e930b068d1d6aef22285b33.tar.bz2 |
Clang and AArch64 backend patches to support shll/shl and vmovl instructions and ACLE functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AArch64/neon-shift.s')
-rw-r--r-- | test/MC/AArch64/neon-shift.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/AArch64/neon-shift.s b/test/MC/AArch64/neon-shift.s index be1799e..23d687c 100644 --- a/test/MC/AArch64/neon-shift.s +++ b/test/MC/AArch64/neon-shift.s @@ -55,3 +55,21 @@ // CHECK: ushl d17, d31, d8 // encoding: [0xf1,0x47,0xe8,0x7e] +//------------------------------------------------------------------------------ +// Vector Integer Shift Left by Immediate +//------------------------------------------------------------------------------ + shl v0.8b, v1.8b, #3 + shl v0.4h, v1.4h, #3 + shl v0.2s, v1.2s, #3 + shl v0.16b, v1.16b, #3 + shl v0.8h, v1.8h, #3 + shl v0.4s, v1.4s, #3 + shl v0.2d, v1.2d, #3 + +// CHECK: shl v0.8b, v1.8b, #3 // encoding: [0x20,0x54,0x0b,0x0f] +// CHECK: shl v0.4h, v1.4h, #3 // encoding: [0x20,0x54,0x13,0x0f] +// CHECK: shl v0.2s, v1.2s, #3 // encoding: [0x20,0x54,0x23,0x0f] +// CHECK: shl v0.16b, v1.16b, #3 // encoding: [0x20,0x54,0x0b,0x4f] +// CHECK: shl v0.8h, v1.8h, #3 // encoding: [0x20,0x54,0x13,0x4f] +// CHECK: shl v0.4s, v1.4s, #3 // encoding: [0x20,0x54,0x23,0x4f] +// CHECK: shl v0.2d, v1.2d, #3 // encoding: [0x20,0x54,0x43,0x4f] |