diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-01-28 07:41:18 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-01-28 07:41:18 +0000 |
commit | 467016e58d57021b14f2ae562d221f00b07cb254 (patch) | |
tree | 8a2e7eef6908ad6a029e460d269771e67d98617f /test | |
parent | 6ab4cbc98636eecafb12393463453b567d58e22c (diff) | |
download | external_llvm-467016e58d57021b14f2ae562d221f00b07cb254.zip external_llvm-467016e58d57021b14f2ae562d221f00b07cb254.tar.gz external_llvm-467016e58d57021b14f2ae562d221f00b07cb254.tar.bz2 |
Fix 256-bit PALIGNR comment decoding to understand that it works on independent 256-bit lanes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/X86/shuffle-comments.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/X86/shuffle-comments.s b/test/MC/X86/shuffle-comments.s index e2f84af..d38fe03 100644 --- a/test/MC/X86/shuffle-comments.s +++ b/test/MC/X86/shuffle-comments.s @@ -29,3 +29,18 @@ vpalignr $0, %xmm0, %xmm1, %xmm2 # CHECK: xmm2 = xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] vpalignr $0, (%rax), %xmm1, %xmm2 # CHECK: xmm2 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] + +vpalignr $8, %ymm0, %ymm1, %ymm2 +# CHECK: ymm2 = ymm0[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm0[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23] +vpalignr $8, (%rax), %ymm1, %ymm2 +# CHECK: ymm2 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23] + +vpalignr $16, %ymm0, %ymm1, %ymm2 +# CHECK: ymm2 = ymm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] +vpalignr $16, (%rax), %ymm1, %ymm2 +# CHECK: ymm2 = ymm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] + +vpalignr $0, %ymm0, %ymm1, %ymm2 +# CHECK: ymm2 = ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] +vpalignr $0, (%rax), %ymm1, %ymm2 +# CHECK: ymm2 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] |