@@ -1603,7 +1603,7 @@ define <16 x i32> @zext_16i1_to_16xi32(i16 %b) {
16031603; KNL-LABEL: zext_16i1_to_16xi32:
16041604; KNL: # %bb.0:
16051605; KNL-NEXT: kmovw %edi, %k1
1606- ; KNL-NEXT: vpternlogd $255, % zmm0, %zmm0, %zmm0 {%k1} {z}
1606+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm0 {%k1} {z} = -1
16071607; KNL-NEXT: vpsrld $31, %zmm0, %zmm0
16081608; KNL-NEXT: retq
16091609;
@@ -1629,7 +1629,7 @@ define <8 x i64> @zext_8i1_to_8xi64(i8 %b) {
16291629; KNL-LABEL: zext_8i1_to_8xi64:
16301630; KNL: # %bb.0:
16311631; KNL-NEXT: kmovw %edi, %k1
1632- ; KNL-NEXT: vpternlogq $255, % zmm0, %zmm0, %zmm0 {%k1} {z}
1632+ ; KNL-NEXT: vpternlogq {{.*#+}} zmm0 {%k1} {z} = -1
16331633; KNL-NEXT: vpsrlq $63, %zmm0, %zmm0
16341634; KNL-NEXT: retq
16351635;
@@ -1747,14 +1747,14 @@ define <8 x i32> @sext_8i1_8i32(<8 x i32> %a1, <8 x i32> %a2) nounwind {
17471747; KNL-LABEL: sext_8i1_8i32:
17481748; KNL: # %bb.0:
17491749; KNL-NEXT: vpcmpgtd %ymm0, %ymm1, %ymm0
1750- ; KNL-NEXT: vpternlogq $15, % zmm0, %zmm0, % zmm0
1750+ ; KNL-NEXT: vpternlogq {{.*#+}} zmm0 = ~ zmm0
17511751; KNL-NEXT: # kill: def $ymm0 killed $ymm0 killed $zmm0
17521752; KNL-NEXT: retq
17531753;
17541754; AVX512DQ-LABEL: sext_8i1_8i32:
17551755; AVX512DQ: # %bb.0:
17561756; AVX512DQ-NEXT: vpcmpgtd %ymm0, %ymm1, %ymm0
1757- ; AVX512DQ-NEXT: vpternlogq $15, % ymm0, %ymm0, % ymm0
1757+ ; AVX512DQ-NEXT: vpternlogq {{.*#+}} ymm0 = ~ ymm0
17581758; AVX512DQ-NEXT: retq
17591759 %x = icmp slt <8 x i32 > %a1 , %a2
17601760 %x1 = xor <8 x i1 >%x , <i1 true , i1 true , i1 true , i1 true , i1 true , i1 true , i1 true , i1 true >
@@ -1840,7 +1840,7 @@ define <16 x i32> @sext_16i1_16i32(<16 x i32> %a1, <16 x i32> %a2) nounwind {
18401840; KNL-LABEL: sext_16i1_16i32:
18411841; KNL: # %bb.0:
18421842; KNL-NEXT: vpcmpgtd %zmm0, %zmm1, %k1
1843- ; KNL-NEXT: vpternlogd $255, % zmm0, %zmm0, %zmm0 {%k1} {z}
1843+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm0 {%k1} {z} = -1
18441844; KNL-NEXT: retq
18451845;
18461846; AVX512DQ-LABEL: sext_16i1_16i32:
@@ -2313,12 +2313,12 @@ define <64 x i16> @test21(<64 x i16> %x , <64 x i1> %mask) nounwind readnone {
23132313; KNL-NEXT: kmovw %eax, %k2
23142314; KNL-NEXT: kshiftlw $15, %k2, %k2
23152315; KNL-NEXT: korw %k2, %k0, %k2
2316- ; KNL-NEXT: vpternlogd $255, % zmm2, %zmm2, %zmm2 {%k2} {z}
2317- ; KNL-NEXT: vpternlogd $255, % zmm3, %zmm3, %zmm3 {%k1} {z}
2316+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm2 {%k2} {z} = -1
2317+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm3 {%k1} {z} = -1
23182318; KNL-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
2319- ; KNL-NEXT: vpternlogd $255, % zmm4, %zmm4, %zmm4 {%k1} {z}
2319+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm4 {%k1} {z} = -1
23202320; KNL-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
2321- ; KNL-NEXT: vpternlogd $255, % zmm5, %zmm5, %zmm5 {%k1} {z}
2321+ ; KNL-NEXT: vpternlogd {{.*#+}} zmm5 {%k1} {z} = -1
23222322; KNL-NEXT: vpmovdw %zmm2, %ymm2
23232323; KNL-NEXT: vpmovdw %zmm3, %ymm3
23242324; KNL-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm2
0 commit comments