1 // RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify
6 __m256i
test_mm512_cvtts_roundpd_epi32(__m512d A
) {
7 return _mm512_cvtts_roundpd_epi32(A
, 22); // expected-error {{invalid rounding argument}}
10 __m256i
test_mm512_mask_cvtts_roundpd_epi32(__m256i W
, __mmask8 U
, __m512d A
) {
11 return _mm512_mask_cvtts_roundpd_epi32(W
, U
, A
, 22); // expected-error {{invalid rounding argument}}
14 __m256i
test_mm512_maskz_cvtts_roundpd_epi32(__mmask8 U
, __m512d A
) {
15 return _mm512_maskz_cvtts_roundpd_epi32(U
, A
, 22); // expected-error {{invalid rounding argument}}
18 __m256i
test_mm512_cvtts_roundpd_epu32(__m512d A
) {
19 return _mm512_cvtts_roundpd_epu32(A
, 22); // expected-error {{invalid rounding argument}}
22 __m256i
test_mm512_mask_cvtts_roundpd_epu32(__m256i W
, __mmask8 U
, __m512d A
) {
23 return _mm512_mask_cvtts_roundpd_epu32(W
, U
, A
, 22); // expected-error {{invalid rounding argument}}
26 __m256i
test_mm512_maskz_cvtts_roundpd_epu32(__mmask8 U
, __m512d A
) {
27 return _mm512_maskz_cvtts_roundpd_epu32(U
, A
, 22); // expected-error {{invalid rounding argument}}
30 __m512i
test_mm512_cvtts_roundps_epi32(__m512 A
) {
31 return _mm512_cvtts_roundps_epi32(A
, 22); // expected-error {{invalid rounding argument}}
34 __m512i
test_mm512_mask_cvtts_roundps_epi32(__m512i W
, __mmask8 U
, __m512 A
) {
35 return _mm512_mask_cvtts_roundps_epi32(W
, U
, A
, 22); // expected-error {{invalid rounding argument}}
38 __m512i
test_mm512_maskz_cvtts_roundps_epi32(__mmask8 U
, __m512 A
) {
39 return _mm512_maskz_cvtts_roundps_epi32(U
, A
, 22); // expected-error {{invalid rounding argument}}
42 __m512i
test_mm512_cvtts_roundps_epu32(__m512 A
) {
43 return _mm512_cvtts_roundps_epu32(A
, 22); // expected-error {{invalid rounding argument}}
46 __m512i
test_mm512_mask_cvtts_roundps_epu32(__m512i W
, __mmask8 U
, __m512 A
) {
47 return _mm512_mask_cvtts_roundps_epu32(W
, U
, A
, 22); // expected-error {{invalid rounding argument}}
50 __m512i
test_mm512_maskz_cvtts_roundps_epu32(__mmask8 U
, __m512 A
) {
51 return _mm512_maskz_cvtts_roundps_epu32(U
, A
, 22); // expected-error {{invalid rounding argument}}