shuffle-comments.s revision 467016e58d57021b14f2ae562d221f00b07cb254
1# RUN: llvm-mc %s -triple=x86_64-unknown-unknown | FileCheck %s
2
3palignr $8, %xmm0, %xmm1
4# CHECK: xmm1 = xmm0[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
5palignr $8, (%rax), %xmm1
6# CHECK: xmm1 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
7
8palignr $16, %xmm0, %xmm1
9# CHECK: xmm1 = xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
10palignr $16, (%rax), %xmm1
11# CHECK: xmm1 = xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
12
13palignr $0, %xmm0, %xmm1
14# CHECK: xmm1 = xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
15palignr $0, (%rax), %xmm1
16# CHECK: xmm1 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
17
18vpalignr $8, %xmm0, %xmm1, %xmm2
19# CHECK: xmm2 = xmm0[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
20vpalignr $8, (%rax), %xmm1, %xmm2
21# CHECK: xmm2 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
22
23vpalignr $16, %xmm0, %xmm1, %xmm2
24# CHECK: xmm2 = xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
25vpalignr $16, (%rax), %xmm1, %xmm2
26# CHECK: xmm2 = xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
27
28vpalignr $0, %xmm0, %xmm1, %xmm2
29# CHECK: xmm2 = xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
30vpalignr $0, (%rax), %xmm1, %xmm2
31# CHECK: xmm2 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
32
33vpalignr $8, %ymm0, %ymm1, %ymm2
34# 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]
35vpalignr $8, (%rax), %ymm1, %ymm2
36# 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]
37
38vpalignr $16, %ymm0, %ymm1, %ymm2
39# 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]
40vpalignr $16, (%rax), %ymm1, %ymm2
41# 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]
42
43vpalignr $0, %ymm0, %ymm1, %ymm2
44# 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]
45vpalignr $0, (%rax), %ymm1, %ymm2
46# 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]
47