[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / X86 / avx512gfni-encoding.s
blob975595deef58eabe37ed4387ff6e00202852db6c
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding < %s | FileCheck %s
3 // CHECK: vgf2p8affineinvqb $7, %zmm2, %zmm20, %zmm1
4 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xcf,0xca,0x07]
5 vgf2p8affineinvqb $7, %zmm2, %zmm20, %zmm1
7 // CHECK: vgf2p8affineqb $7, %zmm2, %zmm20, %zmm1
8 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xce,0xca,0x07]
9 vgf2p8affineqb $7, %zmm2, %zmm20, %zmm1
11 // CHECK: vgf2p8affineinvqb $7, %zmm2, %zmm20, %zmm1 {%k2}
12 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xcf,0xca,0x07]
13 vgf2p8affineinvqb $7, %zmm2, %zmm20, %zmm1 {%k2}
15 // CHECK: vgf2p8affineqb $7, %zmm2, %zmm20, %zmm1 {%k2}
16 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xce,0xca,0x07]
17 vgf2p8affineqb $7, %zmm2, %zmm20, %zmm1 {%k2}
19 // CHECK: vgf2p8affineinvqb $7, (%rcx), %zmm20, %zmm1
20 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xcf,0x09,0x07]
21 vgf2p8affineinvqb $7, (%rcx), %zmm20, %zmm1
23 // CHECK: vgf2p8affineinvqb $7, -256(%rsp), %zmm20, %zmm1
24 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xcf,0x4c,0x24,0xfc,0x07]
25 vgf2p8affineinvqb $7, -256(%rsp), %zmm20, %zmm1
27 // CHECK: vgf2p8affineinvqb $7, 256(%rsp), %zmm20, %zmm1
28 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xcf,0x4c,0x24,0x04,0x07]
29 vgf2p8affineinvqb $7, 256(%rsp), %zmm20, %zmm1
31 // CHECK: vgf2p8affineinvqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1
32 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xcf,0x8c,0xf1,0x00,0x00,0x00,0x10,0x07]
33 vgf2p8affineinvqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1
35 // CHECK: vgf2p8affineinvqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1
36 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xcf,0x8c,0xf1,0x00,0x00,0x00,0xe0,0x07]
37 vgf2p8affineinvqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1
39 // CHECK: vgf2p8affineinvqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1
40 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xcf,0x8c,0xf1,0x02,0x00,0x00,0xe0,0x07]
41 vgf2p8affineinvqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1
43 // CHECK: vgf2p8affineqb $7, (%rcx), %zmm20, %zmm1
44 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xce,0x09,0x07]
45 vgf2p8affineqb $7, (%rcx), %zmm20, %zmm1
47 // CHECK: vgf2p8affineqb $7, -256(%rsp), %zmm20, %zmm1
48 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xce,0x4c,0x24,0xfc,0x07]
49 vgf2p8affineqb $7, -256(%rsp), %zmm20, %zmm1
51 // CHECK: vgf2p8affineqb $7, 256(%rsp), %zmm20, %zmm1
52 // CHECK: encoding: [0x62,0xf3,0xdd,0x40,0xce,0x4c,0x24,0x04,0x07]
53 vgf2p8affineqb $7, 256(%rsp), %zmm20, %zmm1
55 // CHECK: vgf2p8affineqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1
56 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xce,0x8c,0xf1,0x00,0x00,0x00,0x10,0x07]
57 vgf2p8affineqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1
59 // CHECK: vgf2p8affineqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1
60 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xce,0x8c,0xf1,0x00,0x00,0x00,0xe0,0x07]
61 vgf2p8affineqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1
63 // CHECK: vgf2p8affineqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1
64 // CHECK: encoding: [0x62,0xb3,0xdd,0x40,0xce,0x8c,0xf1,0x02,0x00,0x00,0xe0,0x07]
65 vgf2p8affineqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1
67 // CHECK: vgf2p8affineinvqb $7, (%rcx), %zmm20, %zmm1 {%k2}
68 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xcf,0x09,0x07]
69 vgf2p8affineinvqb $7, (%rcx), %zmm20, %zmm1 {%k2}
71 // CHECK: vgf2p8affineinvqb $7, -256(%rsp), %zmm20, %zmm1 {%k2}
72 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xcf,0x4c,0x24,0xfc,0x07]
73 vgf2p8affineinvqb $7, -256(%rsp), %zmm20, %zmm1 {%k2}
75 // CHECK: vgf2p8affineinvqb $7, 256(%rsp), %zmm20, %zmm1 {%k2}
76 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xcf,0x4c,0x24,0x04,0x07]
77 vgf2p8affineinvqb $7, 256(%rsp), %zmm20, %zmm1 {%k2}
79 // CHECK: vgf2p8affineinvqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
80 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xcf,0x8c,0xf1,0x00,0x00,0x00,0x10,0x07]
81 vgf2p8affineinvqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
83 // CHECK: vgf2p8affineinvqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
84 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xcf,0x8c,0xf1,0x00,0x00,0x00,0xe0,0x07]
85 vgf2p8affineinvqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
87 // CHECK: vgf2p8affineinvqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
88 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xcf,0x8c,0xf1,0x02,0x00,0x00,0xe0,0x07]
89 vgf2p8affineinvqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
91 // CHECK: vgf2p8affineqb $7, (%rcx), %zmm20, %zmm1 {%k2}
92 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xce,0x09,0x07]
93 vgf2p8affineqb $7, (%rcx), %zmm20, %zmm1 {%k2}
95 // CHECK: vgf2p8affineqb $7, -256(%rsp), %zmm20, %zmm1 {%k2}
96 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xce,0x4c,0x24,0xfc,0x07]
97 vgf2p8affineqb $7, -256(%rsp), %zmm20, %zmm1 {%k2}
99 // CHECK: vgf2p8affineqb $7, 256(%rsp), %zmm20, %zmm1 {%k2}
100 // CHECK: encoding: [0x62,0xf3,0xdd,0x42,0xce,0x4c,0x24,0x04,0x07]
101 vgf2p8affineqb $7, 256(%rsp), %zmm20, %zmm1 {%k2}
103 // CHECK: vgf2p8affineqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
104 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xce,0x8c,0xf1,0x00,0x00,0x00,0x10,0x07]
105 vgf2p8affineqb $7, 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
107 // CHECK: vgf2p8affineqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
108 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xce,0x8c,0xf1,0x00,0x00,0x00,0xe0,0x07]
109 vgf2p8affineqb $7, -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
111 // CHECK: vgf2p8affineqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
112 // CHECK: encoding: [0x62,0xb3,0xdd,0x42,0xce,0x8c,0xf1,0x02,0x00,0x00,0xe0,0x07]
113 vgf2p8affineqb $7, -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
115 // CHECK: vgf2p8mulb %zmm2, %zmm20, %zmm1
116 // CHECK: encoding: [0x62,0xf2,0x5d,0x40,0xcf,0xca]
117 vgf2p8mulb %zmm2, %zmm20, %zmm1
119 // CHECK: vgf2p8mulb %zmm2, %zmm20, %zmm1 {%k2}
120 // CHECK: encoding: [0x62,0xf2,0x5d,0x42,0xcf,0xca]
121 vgf2p8mulb %zmm2, %zmm20, %zmm1 {%k2}
123 // CHECK: vgf2p8mulb (%rcx), %zmm20, %zmm1
124 // CHECK: encoding: [0x62,0xf2,0x5d,0x40,0xcf,0x09]
125 vgf2p8mulb (%rcx), %zmm20, %zmm1
127 // CHECK: vgf2p8mulb -256(%rsp), %zmm20, %zmm1
128 // CHECK: encoding: [0x62,0xf2,0x5d,0x40,0xcf,0x4c,0x24,0xfc]
129 vgf2p8mulb -256(%rsp), %zmm20, %zmm1
131 // CHECK: vgf2p8mulb 256(%rsp), %zmm20, %zmm1
132 // CHECK: encoding: [0x62,0xf2,0x5d,0x40,0xcf,0x4c,0x24,0x04]
133 vgf2p8mulb 256(%rsp), %zmm20, %zmm1
135 // CHECK: vgf2p8mulb 268435456(%rcx,%r14,8), %zmm20, %zmm1
136 // CHECK: encoding: [0x62,0xb2,0x5d,0x40,0xcf,0x8c,0xf1,0x00,0x00,0x00,0x10]
137 vgf2p8mulb 268435456(%rcx,%r14,8), %zmm20, %zmm1
139 // CHECK: vgf2p8mulb -536870912(%rcx,%r14,8), %zmm20, %zmm1
140 // CHECK: encoding: [0x62,0xb2,0x5d,0x40,0xcf,0x8c,0xf1,0x00,0x00,0x00,0xe0]
141 vgf2p8mulb -536870912(%rcx,%r14,8), %zmm20, %zmm1
143 // CHECK: vgf2p8mulb -536870910(%rcx,%r14,8), %zmm20, %zmm1
144 // CHECK: encoding: [0x62,0xb2,0x5d,0x40,0xcf,0x8c,0xf1,0x02,0x00,0x00,0xe0]
145 vgf2p8mulb -536870910(%rcx,%r14,8), %zmm20, %zmm1
147 // CHECK: vgf2p8mulb (%rcx), %zmm20, %zmm1 {%k2}
148 // CHECK: encoding: [0x62,0xf2,0x5d,0x42,0xcf,0x09]
149 vgf2p8mulb (%rcx), %zmm20, %zmm1 {%k2}
151 // CHECK: vgf2p8mulb -256(%rsp), %zmm20, %zmm1 {%k2}
152 // CHECK: encoding: [0x62,0xf2,0x5d,0x42,0xcf,0x4c,0x24,0xfc]
153 vgf2p8mulb -256(%rsp), %zmm20, %zmm1 {%k2}
155 // CHECK: vgf2p8mulb 256(%rsp), %zmm20, %zmm1 {%k2}
156 // CHECK: encoding: [0x62,0xf2,0x5d,0x42,0xcf,0x4c,0x24,0x04]
157 vgf2p8mulb 256(%rsp), %zmm20, %zmm1 {%k2}
159 // CHECK: vgf2p8mulb 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
160 // CHECK: encoding: [0x62,0xb2,0x5d,0x42,0xcf,0x8c,0xf1,0x00,0x00,0x00,0x10]
161 vgf2p8mulb 268435456(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
163 // CHECK: vgf2p8mulb -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
164 // CHECK: encoding: [0x62,0xb2,0x5d,0x42,0xcf,0x8c,0xf1,0x00,0x00,0x00,0xe0]
165 vgf2p8mulb -536870912(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
167 // CHECK: vgf2p8mulb -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
168 // CHECK: encoding: [0x62,0xb2,0x5d,0x42,0xcf,0x8c,0xf1,0x02,0x00,0x00,0xe0]
169 vgf2p8mulb -536870910(%rcx,%r14,8), %zmm20, %zmm1 {%k2}
171 // CHECK: vgf2p8affineinvqb $7, (%rcx){1to8}, %zmm20, %zmm1
172 // CHECK: encoding: [0x62,0xf3,0xdd,0x50,0xcf,0x09,0x07]
173 vgf2p8affineinvqb $7, (%rcx){1to8}, %zmm20, %zmm1
175 // CHECK: vgf2p8affineqb $7, (%rcx){1to8}, %zmm20, %zmm1
176 // CHECK: encoding: [0x62,0xf3,0xdd,0x50,0xce,0x09,0x07]
177 vgf2p8affineqb $7, (%rcx){1to8}, %zmm20, %zmm1