@@ -121,12 +121,12 @@ define <8 x i16> @test_x86_vcvtps2ph_128(<4 x float> %a0) {
121
121
;
122
122
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_128:
123
123
; X32-AVX512VL: # BB#0:
124
- ; X32-AVX512VL-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x00]
124
+ ; X32-AVX512VL-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x00]
125
125
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
126
126
;
127
127
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_128:
128
128
; X64-AVX512VL: # BB#0:
129
- ; X64-AVX512VL-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x00]
129
+ ; X64-AVX512VL-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x00]
130
130
; X64-AVX512VL-NEXT: retq # encoding: [0xc3]
131
131
%res = call <8 x i16 > @llvm.x86.vcvtps2ph.128 (<4 x float > %a0 , i32 0 ) ; <<8 x i16>> [#uses=1]
132
132
ret <8 x i16 > %res
@@ -148,13 +148,13 @@ define <8 x i16> @test_x86_vcvtps2ph_256(<8 x float> %a0) {
148
148
;
149
149
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_256:
150
150
; X32-AVX512VL: # BB#0:
151
- ; X32-AVX512VL-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # encoding: [0xc4,0xe3,0x7d,0x1d,0xc0,0x00]
151
+ ; X32-AVX512VL-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x7d,0x1d,0xc0,0x00]
152
152
; X32-AVX512VL-NEXT: vzeroupper # encoding: [0xc5,0xf8,0x77]
153
153
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
154
154
;
155
155
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_256:
156
156
; X64-AVX512VL: # BB#0:
157
- ; X64-AVX512VL-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # encoding: [0xc4,0xe3,0x7d,0x1d,0xc0,0x00]
157
+ ; X64-AVX512VL-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x7d,0x1d,0xc0,0x00]
158
158
; X64-AVX512VL-NEXT: vzeroupper # encoding: [0xc5,0xf8,0x77]
159
159
; X64-AVX512VL-NEXT: retq # encoding: [0xc3]
160
160
%res = call <8 x i16 > @llvm.x86.vcvtps2ph.256 (<8 x float > %a0 , i32 0 ) ; <<8 x i16>> [#uses=1]
@@ -238,13 +238,13 @@ define void @test_x86_vcvtps2ph_256_m(<8 x i16>* nocapture %d, <8 x float> %a) n
238
238
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_256_m:
239
239
; X32-AVX512VL: # BB#0: # %entry
240
240
; X32-AVX512VL-NEXT: movl {{[0-9]+}}(%esp), %eax # encoding: [0x8b,0x44,0x24,0x04]
241
- ; X32-AVX512VL-NEXT: vcvtps2ph $3, %ymm0, (%eax) # encoding: [0xc4,0xe3,0x7d,0x1d,0x00,0x03]
241
+ ; X32-AVX512VL-NEXT: vcvtps2ph $3, %ymm0, (%eax) # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x7d,0x1d,0x00,0x03]
242
242
; X32-AVX512VL-NEXT: vzeroupper # encoding: [0xc5,0xf8,0x77]
243
243
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
244
244
;
245
245
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_256_m:
246
246
; X64-AVX512VL: # BB#0: # %entry
247
- ; X64-AVX512VL-NEXT: vcvtps2ph $3, %ymm0, (%rdi) # encoding: [0xc4,0xe3,0x7d,0x1d,0x07,0x03]
247
+ ; X64-AVX512VL-NEXT: vcvtps2ph $3, %ymm0, (%rdi) # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x7d,0x1d,0x07,0x03]
248
248
; X64-AVX512VL-NEXT: vzeroupper # encoding: [0xc5,0xf8,0x77]
249
249
; X64-AVX512VL-NEXT: retq # encoding: [0xc3]
250
250
entry:
@@ -268,15 +268,15 @@ define void @test_x86_vcvtps2ph_128_m(<4 x i16>* nocapture %d, <4 x float> %a) n
268
268
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m:
269
269
; X32-AVX512VL: # BB#0: # %entry
270
270
; X32-AVX512VL-NEXT: movl {{[0-9]+}}(%esp), %eax # encoding: [0x8b,0x44,0x24,0x04]
271
- ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
271
+ ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
272
272
; X32-AVX512VL-NEXT: vpmovzxwd %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe2,0x79,0x33,0xc0]
273
273
; X32-AVX512VL-NEXT: # xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero
274
274
; X32-AVX512VL-NEXT: vpmovdw %xmm0, (%eax) # encoding: [0x62,0xf2,0x7e,0x08,0x33,0x00]
275
275
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
276
276
;
277
277
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m:
278
278
; X64-AVX512VL: # BB#0: # %entry
279
- ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
279
+ ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
280
280
; X64-AVX512VL-NEXT: vpmovzxwd %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe2,0x79,0x33,0xc0]
281
281
; X64-AVX512VL-NEXT: # xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero
282
282
; X64-AVX512VL-NEXT: vpmovdw %xmm0, (%rdi) # encoding: [0x62,0xf2,0x7e,0x08,0x33,0x07]
@@ -303,12 +303,14 @@ define void @test_x86_vcvtps2ph_128_m2(double* nocapture %hf4x16, <4 x float> %f
303
303
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m2:
304
304
; X32-AVX512VL: # BB#0: # %entry
305
305
; X32-AVX512VL-NEXT: movl {{[0-9]+}}(%esp), %eax # encoding: [0x8b,0x44,0x24,0x04]
306
- ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, (%eax) # encoding: [0xc4,0xe3,0x79,0x1d,0x00,0x03]
306
+ ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
307
+ ; X32-AVX512VL-NEXT: vmovlps %xmm0, (%eax) # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x13,0x00]
307
308
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
308
309
;
309
310
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m2:
310
311
; X64-AVX512VL: # BB#0: # %entry
311
- ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, (%rdi) # encoding: [0xc4,0xe3,0x79,0x1d,0x07,0x03]
312
+ ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
313
+ ; X64-AVX512VL-NEXT: vmovlps %xmm0, (%rdi) # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x13,0x07]
312
314
; X64-AVX512VL-NEXT: retq # encoding: [0xc3]
313
315
entry:
314
316
%0 = tail call <8 x i16 > @llvm.x86.vcvtps2ph.128 (<4 x float > %f4x32 , i32 3 )
@@ -333,12 +335,14 @@ define void @test_x86_vcvtps2ph_128_m3(i64* nocapture %hf4x16, <4 x float> %f4x3
333
335
; X32-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m3:
334
336
; X32-AVX512VL: # BB#0: # %entry
335
337
; X32-AVX512VL-NEXT: movl {{[0-9]+}}(%esp), %eax # encoding: [0x8b,0x44,0x24,0x04]
336
- ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, (%eax) # encoding: [0xc4,0xe3,0x79,0x1d,0x00,0x03]
338
+ ; X32-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
339
+ ; X32-AVX512VL-NEXT: vmovlps %xmm0, (%eax) # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x13,0x00]
337
340
; X32-AVX512VL-NEXT: retl # encoding: [0xc3]
338
341
;
339
342
; X64-AVX512VL-LABEL: test_x86_vcvtps2ph_128_m3:
340
343
; X64-AVX512VL: # BB#0: # %entry
341
- ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, (%rdi) # encoding: [0xc4,0xe3,0x79,0x1d,0x07,0x03]
344
+ ; X64-AVX512VL-NEXT: vcvtps2ph $3, %xmm0, %xmm0 # EVEX TO VEX Compression encoding: [0xc4,0xe3,0x79,0x1d,0xc0,0x03]
345
+ ; X64-AVX512VL-NEXT: vmovlps %xmm0, (%rdi) # EVEX TO VEX Compression encoding: [0xc5,0xf8,0x13,0x07]
342
346
; X64-AVX512VL-NEXT: retq # encoding: [0xc3]
343
347
entry:
344
348
%0 = tail call <8 x i16 > @llvm.x86.vcvtps2ph.128 (<4 x float > %f4x32 , i32 3 )
0 commit comments