brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 2343016 Raw
53 lines · c
1// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2 -Wall -Werror -verify2 3#include <immintrin.h>4#include <stddef.h>5 6__m256i test_mm512_cvtts_roundpd_epi32(__m512d A) {7  return _mm512_cvtts_roundpd_epi32(A, 22); // expected-error {{invalid rounding argument}}8}9 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}}12}13 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}}16}17 18__m256i test_mm512_cvtts_roundpd_epu32(__m512d A) {19  return _mm512_cvtts_roundpd_epu32(A, 22); // expected-error {{invalid rounding argument}}20}21 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}}24}25 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}}28}29 30__m512i test_mm512_cvtts_roundps_epi32(__m512 A) {31  return _mm512_cvtts_roundps_epi32(A, 22); // expected-error {{invalid rounding argument}}32}33 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}}36}37 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}}40}41 42__m512i test_mm512_cvtts_roundps_epu32(__m512 A) {43  return _mm512_cvtts_roundps_epu32(A, 22); // expected-error {{invalid rounding argument}}44}45 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}}48}49 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}}52}53