forked from OSchip/llvm-project
[X86] Don't use _MM_FROUND_CUR_DIRECTION in the intrinsics tests.
_MM_FROUND_CUR_DIRECTION is the behavior of the intrinsics that don't take a rounding mode argument. So a better test is using _MM_FROUND_NO_EXC with the SAE only intrinsics and an explicit rounding mode with the intrinsics that support embedded rounding mode. llvm-svn: 364127
This commit is contained in:
parent
8cd780b432
commit
ed78daf810
|
@ -692,19 +692,19 @@ __m512i test_mm512_maskz_cvttpd_epi64(__mmask8 __U, __m512d __A) {
|
|||
__m512i test_mm512_cvtt_roundpd_epi64(__m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_cvtt_roundpd_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2qq.512
|
||||
return _mm512_cvtt_roundpd_epi64(__A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_cvtt_roundpd_epi64(__A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_mask_cvtt_roundpd_epi64(__m512i __W, __mmask8 __U, __m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_mask_cvtt_roundpd_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2qq.512
|
||||
return _mm512_mask_cvtt_roundpd_epi64(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_cvtt_roundpd_epi64(__W, __U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_maskz_cvtt_roundpd_epi64(__mmask8 __U, __m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_cvtt_roundpd_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2qq.512
|
||||
return _mm512_maskz_cvtt_roundpd_epi64(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_cvtt_roundpd_epi64(__U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_cvttpd_epu64(__m512d __A) {
|
||||
|
@ -728,19 +728,19 @@ __m512i test_mm512_maskz_cvttpd_epu64(__mmask8 __U, __m512d __A) {
|
|||
__m512i test_mm512_cvtt_roundpd_epu64(__m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_cvtt_roundpd_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2uqq.512
|
||||
return _mm512_cvtt_roundpd_epu64(__A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_cvtt_roundpd_epu64(__A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_mask_cvtt_roundpd_epu64(__m512i __W, __mmask8 __U, __m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_mask_cvtt_roundpd_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2uqq.512
|
||||
return _mm512_mask_cvtt_roundpd_epu64(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_cvtt_roundpd_epu64(__W, __U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_maskz_cvtt_roundpd_epu64(__mmask8 __U, __m512d __A) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_cvtt_roundpd_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttpd2uqq.512
|
||||
return _mm512_maskz_cvtt_roundpd_epu64(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_cvtt_roundpd_epu64(__U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_cvttps_epi64(__m256 __A) {
|
||||
|
@ -764,19 +764,19 @@ __m512i test_mm512_maskz_cvttps_epi64(__mmask8 __U, __m256 __A) {
|
|||
__m512i test_mm512_cvtt_roundps_epi64(__m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_cvtt_roundps_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2qq.512
|
||||
return _mm512_cvtt_roundps_epi64(__A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_cvtt_roundps_epi64(__A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_mask_cvtt_roundps_epi64(__m512i __W, __mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_mask_cvtt_roundps_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2qq.512
|
||||
return _mm512_mask_cvtt_roundps_epi64(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_cvtt_roundps_epi64(__W, __U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_maskz_cvtt_roundps_epi64(__mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_cvtt_roundps_epi64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2qq.512
|
||||
return _mm512_maskz_cvtt_roundps_epi64(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_cvtt_roundps_epi64(__U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_cvttps_epu64(__m256 __A) {
|
||||
|
@ -800,19 +800,19 @@ __m512i test_mm512_maskz_cvttps_epu64(__mmask8 __U, __m256 __A) {
|
|||
__m512i test_mm512_cvtt_roundps_epu64(__m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_cvtt_roundps_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2uqq.512
|
||||
return _mm512_cvtt_roundps_epu64(__A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_cvtt_roundps_epu64(__A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_mask_cvtt_roundps_epu64(__m512i __W, __mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_mask_cvtt_roundps_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2uqq.512
|
||||
return _mm512_mask_cvtt_roundps_epu64(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_cvtt_roundps_epu64(__W, __U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512i test_mm512_maskz_cvtt_roundps_epu64(__mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_cvtt_roundps_epu64
|
||||
// CHECK: @llvm.x86.avx512.mask.cvttps2uqq.512
|
||||
return _mm512_maskz_cvtt_roundps_epu64(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_cvtt_roundps_epu64(__U, __A, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_cvtepu64_pd(__m512i __A) {
|
||||
|
|
|
@ -6,19 +6,19 @@
|
|||
__m512d test_mm512_rsqrt28_round_pd(__m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_rsqrt28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.pd
|
||||
return _mm512_rsqrt28_round_pd(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_rsqrt28_round_pd(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_mask_rsqrt28_round_pd(__m512d s, __mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_rsqrt28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.pd
|
||||
return _mm512_mask_rsqrt28_round_pd(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_rsqrt28_round_pd(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_maskz_rsqrt28_round_pd(__mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_rsqrt28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.pd
|
||||
return _mm512_maskz_rsqrt28_round_pd(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_rsqrt28_round_pd(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_rsqrt28_pd(__m512d a) {
|
||||
|
@ -42,19 +42,19 @@ __m512d test_mm512_maskz_rsqrt28_pd(__mmask8 m, __m512d a) {
|
|||
__m512 test_mm512_rsqrt28_round_ps(__m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_rsqrt28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ps
|
||||
return _mm512_rsqrt28_round_ps(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_rsqrt28_round_ps(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_mask_rsqrt28_round_ps(__m512 s, __mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_rsqrt28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ps
|
||||
return _mm512_mask_rsqrt28_round_ps(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_rsqrt28_round_ps(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_maskz_rsqrt28_round_ps(__mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_rsqrt28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ps
|
||||
return _mm512_maskz_rsqrt28_round_ps(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_rsqrt28_round_ps(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_rsqrt28_ps(__m512 a) {
|
||||
|
@ -78,19 +78,19 @@ __m512 test_mm512_maskz_rsqrt28_ps(__mmask16 m, __m512 a) {
|
|||
__m128 test_mm_rsqrt28_round_ss(__m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_rsqrt28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ss
|
||||
return _mm_rsqrt28_round_ss(a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_rsqrt28_round_ss(a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_mask_rsqrt28_round_ss(__m128 s, __mmask16 m, __m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_mask_rsqrt28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ss
|
||||
return _mm_mask_rsqrt28_round_ss(s, m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_mask_rsqrt28_round_ss(s, m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_maskz_rsqrt28_round_ss(__mmask16 m, __m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_maskz_rsqrt28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.ss
|
||||
return _mm_maskz_rsqrt28_round_ss(m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_maskz_rsqrt28_round_ss(m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_rsqrt28_ss(__m128 a, __m128 b) {
|
||||
|
@ -114,37 +114,37 @@ __m128 test_mm_maskz_rsqrt28_ss(__mmask16 m, __m128 a, __m128 b) {
|
|||
__m128d test_mm_rsqrt28_round_sd(__m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_rsqrt28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.sd
|
||||
return _mm_rsqrt28_round_sd(a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_rsqrt28_round_sd(a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128d test_mm_mask_rsqrt28_round_sd(__m128d s, __mmask8 m, __m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_mask_rsqrt28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.sd
|
||||
return _mm_mask_rsqrt28_round_sd(s, m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_mask_rsqrt28_round_sd(s, m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128d test_mm_maskz_rsqrt28_round_sd(__mmask8 m, __m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_maskz_rsqrt28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rsqrt28.sd
|
||||
return _mm_maskz_rsqrt28_round_sd(m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_maskz_rsqrt28_round_sd(m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_rcp28_round_pd(__m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_rcp28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.pd
|
||||
return _mm512_rcp28_round_pd(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_rcp28_round_pd(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_mask_rcp28_round_pd(__m512d s, __mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_rcp28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.pd
|
||||
return _mm512_mask_rcp28_round_pd(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_rcp28_round_pd(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_maskz_rcp28_round_pd(__mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_rcp28_round_pd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.pd
|
||||
return _mm512_maskz_rcp28_round_pd(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_rcp28_round_pd(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_rcp28_pd(__m512d a) {
|
||||
|
@ -168,19 +168,19 @@ __m512d test_mm512_maskz_rcp28_pd(__mmask8 m, __m512d a) {
|
|||
__m512 test_mm512_rcp28_round_ps(__m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_rcp28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ps
|
||||
return _mm512_rcp28_round_ps(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_rcp28_round_ps(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_mask_rcp28_round_ps(__m512 s, __mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_rcp28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ps
|
||||
return _mm512_mask_rcp28_round_ps(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_rcp28_round_ps(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_maskz_rcp28_round_ps(__mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_rcp28_round_ps
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ps
|
||||
return _mm512_maskz_rcp28_round_ps(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_rcp28_round_ps(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_rcp28_ps(__m512 a) {
|
||||
|
@ -204,19 +204,19 @@ __m512 test_mm512_maskz_rcp28_ps(__mmask16 m, __m512 a) {
|
|||
__m128 test_mm_rcp28_round_ss(__m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_rcp28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ss
|
||||
return _mm_rcp28_round_ss(a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_rcp28_round_ss(a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_mask_rcp28_round_ss(__m128 s, __mmask16 m, __m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_mask_rcp28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ss
|
||||
return _mm_mask_rcp28_round_ss(s, m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_mask_rcp28_round_ss(s, m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_maskz_rcp28_round_ss(__mmask16 m, __m128 a, __m128 b) {
|
||||
// CHECK-LABEL: @test_mm_maskz_rcp28_round_ss
|
||||
// CHECK: @llvm.x86.avx512.rcp28.ss
|
||||
return _mm_maskz_rcp28_round_ss(m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_maskz_rcp28_round_ss(m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128 test_mm_rcp28_ss(__m128 a, __m128 b) {
|
||||
|
@ -240,19 +240,19 @@ __m128 test_mm_maskz_rcp28_ss(__mmask16 m, __m128 a, __m128 b) {
|
|||
__m128d test_mm_rcp28_round_sd(__m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_rcp28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.sd
|
||||
return _mm_rcp28_round_sd(a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_rcp28_round_sd(a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128d test_mm_mask_rcp28_round_sd(__m128d s, __mmask8 m, __m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_mask_rcp28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.sd
|
||||
return _mm_mask_rcp28_round_sd(s, m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_mask_rcp28_round_sd(s, m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128d test_mm_maskz_rcp28_round_sd(__mmask8 m, __m128d a, __m128d b) {
|
||||
// CHECK-LABEL: @test_mm_maskz_rcp28_round_sd
|
||||
// CHECK: @llvm.x86.avx512.rcp28.sd
|
||||
return _mm_maskz_rcp28_round_sd(m, a, b, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_maskz_rcp28_round_sd(m, a, b, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m128d test_mm_rcp28_sd(__m128d a, __m128d b) {
|
||||
|
@ -276,19 +276,19 @@ __m128d test_mm_maskz_rcp28_sd(__mmask8 m, __m128d a, __m128d b) {
|
|||
__m512d test_mm512_exp2a23_round_pd(__m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_exp2a23_round_pd
|
||||
// CHECK: @llvm.x86.avx512.exp2.pd
|
||||
return _mm512_exp2a23_round_pd(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_exp2a23_round_pd(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_mask_exp2a23_round_pd(__m512d s, __mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_exp2a23_round_pd
|
||||
// CHECK: @llvm.x86.avx512.exp2.pd
|
||||
return _mm512_mask_exp2a23_round_pd(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_exp2a23_round_pd(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_maskz_exp2a23_round_pd(__mmask8 m, __m512d a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_exp2a23_round_pd
|
||||
// CHECK: @llvm.x86.avx512.exp2.pd
|
||||
return _mm512_maskz_exp2a23_round_pd(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_exp2a23_round_pd(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512d test_mm512_exp2a23_pd(__m512d a) {
|
||||
|
@ -312,19 +312,19 @@ __m512d test_mm512_maskz_exp2a23_pd(__mmask8 m, __m512d a) {
|
|||
__m512 test_mm512_exp2a23_round_ps(__m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_exp2a23_round_ps
|
||||
// CHECK: @llvm.x86.avx512.exp2.ps
|
||||
return _mm512_exp2a23_round_ps(a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_exp2a23_round_ps(a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_mask_exp2a23_round_ps(__m512 s, __mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_mask_exp2a23_round_ps
|
||||
// CHECK: @llvm.x86.avx512.exp2.ps
|
||||
return _mm512_mask_exp2a23_round_ps(s, m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_mask_exp2a23_round_ps(s, m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_maskz_exp2a23_round_ps(__mmask16 m, __m512 a) {
|
||||
// CHECK-LABEL: @test_mm512_maskz_exp2a23_round_ps
|
||||
// CHECK: @llvm.x86.avx512.exp2.ps
|
||||
return _mm512_maskz_exp2a23_round_ps(m, a, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm512_maskz_exp2a23_round_ps(m, a, _MM_FROUND_NO_EXC);
|
||||
}
|
||||
|
||||
__m512 test_mm512_exp2a23_ps(__m512 a) {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9750,25 +9750,25 @@ __m128i test_mm256_maskz_cvtps_ph(__mmask8 __U, __m256 __A) {
|
|||
__m128i test_mm_mask_cvt_roundps_ph(__m128i __W, __mmask8 __U, __m128 __A) {
|
||||
// CHECK-LABEL: @test_mm_mask_cvt_roundps_ph
|
||||
// CHECK: @llvm.x86.avx512.mask.vcvtps2ph.128
|
||||
return _mm_mask_cvt_roundps_ph(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_mask_cvt_roundps_ph(__W, __U, __A, _MM_FROUND_TO_ZERO);
|
||||
}
|
||||
|
||||
__m128i test_mm_maskz_cvt_roundps_ph(__mmask8 __U, __m128 __A) {
|
||||
// CHECK-LABEL: @test_mm_maskz_cvt_roundps_ph
|
||||
// CHECK: @llvm.x86.avx512.mask.vcvtps2ph.128
|
||||
return _mm_maskz_cvt_roundps_ph(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm_maskz_cvt_roundps_ph(__U, __A, _MM_FROUND_TO_ZERO);
|
||||
}
|
||||
|
||||
__m128i test_mm256_mask_cvt_roundps_ph(__m128i __W, __mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm256_mask_cvt_roundps_ph
|
||||
// CHECK: @llvm.x86.avx512.mask.vcvtps2ph.256
|
||||
return _mm256_mask_cvt_roundps_ph(__W, __U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm256_mask_cvt_roundps_ph(__W, __U, __A, _MM_FROUND_TO_ZERO);
|
||||
}
|
||||
|
||||
__m128i test_mm256_maskz_cvt_roundps_ph(__mmask8 __U, __m256 __A) {
|
||||
// CHECK-LABEL: @test_mm256_maskz_cvt_roundps_ph
|
||||
// CHECK: @llvm.x86.avx512.mask.vcvtps2ph.256
|
||||
return _mm256_maskz_cvt_roundps_ph(__U, __A, _MM_FROUND_CUR_DIRECTION);
|
||||
return _mm256_maskz_cvt_roundps_ph(__U, __A, _MM_FROUND_TO_ZERO);
|
||||
}
|
||||
|
||||
__mmask8 test_mm_cmpeq_epi32_mask(__m128i __a, __m128i __b) {
|
||||
|
|
Loading…
Reference in New Issue