@@ -35,32 +35,6 @@ define <32 x half> @test_sqrt_ph_512_fast(<32 x half> %a0, <32 x half> %a1) {
3535 ret <32 x half > %2
3636}
3737
38- define <32 x half > @test_sqrt_ph_512_fast_estimate_attribute (<32 x half > %a0 , <32 x half > %a1 ) "reciprocal-estimates" ="vec-sqrt" {
39- ; CHECK-LABEL: test_sqrt_ph_512_fast_estimate_attribute:
40- ; CHECK: # %bb.0:
41- ; CHECK-NEXT: vrsqrtph %zmm0, %zmm0
42- ; CHECK-NEXT: vmulph %zmm0, %zmm1, %zmm0
43- ; CHECK-NEXT: retq
44- %1 = call fast <32 x half > @llvm.sqrt.v32f16 (<32 x half > %a0 )
45- %2 = fdiv fast <32 x half > %a1 , %1
46- ret <32 x half > %2
47- }
48-
49- define <32 x half > @test_sqrt_ph_512_fast_estimate_attribute_2 (<32 x half > %a0 , <32 x half > %a1 ) "reciprocal-estimates" ="vec-sqrth:1" {
50- ; CHECK-LABEL: test_sqrt_ph_512_fast_estimate_attribute_2:
51- ; CHECK: # %bb.0:
52- ; CHECK-NEXT: vrsqrtph %zmm0, %zmm2
53- ; CHECK-NEXT: vmulph %zmm2, %zmm0, %zmm0
54- ; CHECK-NEXT: vfmadd213ph {{\.?LCPI[0-9]+_[0-9]+}}(%rip){1to32}, %zmm2, %zmm0
55- ; CHECK-NEXT: vmulph {{\.?LCPI[0-9]+_[0-9]+}}(%rip){1to32}, %zmm2, %zmm2
56- ; CHECK-NEXT: vmulph %zmm1, %zmm0, %zmm0
57- ; CHECK-NEXT: vmulph %zmm0, %zmm2, %zmm0
58- ; CHECK-NEXT: retq
59- %1 = call fast <32 x half > @llvm.sqrt.v32f16 (<32 x half > %a0 )
60- %2 = fdiv fast <32 x half > %a1 , %1
61- ret <32 x half > %2
62- }
63-
6438define <32 x half > @test_mask_sqrt_ph_512 (<32 x half > %a0 , <32 x half > %passthru , i32 %mask ) {
6539; CHECK-LABEL: test_mask_sqrt_ph_512:
6640; CHECK: # %bb.0:
0 commit comments