diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c b/gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c index 00da511..8a05dfd 100644 --- a/gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c +++ b/gcc/testsuite/gcc.target/i386/avx10_2-512-vcvttph2iubs-2.c @@ -49,18 +49,17 @@ TEST (void) for (i = 0; i < SIZE; i++) res2.a[i] = DEFAULT_VALUE; -#if AVX512F_LEN == 128 - res1.x = INTRINSIC (_ipcvttph_epu16) (s.x); - res2.x = INTRINSIC (_mask_ipcvttph_epu16) (res2.x, mask, s.x); - res3.x = INTRINSIC (_maskz_ipcvttph_epu16) (mask, s.x); -#else - res1.x = INTRINSIC (_ipcvtt_roundph_epu16) (s.x, 8); - res2.x = INTRINSIC (_mask_ipcvtt_roundph_epu16) (res2.x, mask, s.x, 8); - res3.x = INTRINSIC (_maskz_ipcvtt_roundph_epu16) (mask, s.x, 8); -#endif + res1.x = INTRINSIC (_ipcvtts_ph_epu8) (s.x); + res2.x = INTRINSIC (_mask_ipcvtts_ph_epu8) (res2.x, mask, s.x); + res3.x = INTRINSIC (_maskz_ipcvtts_ph_epu8) (mask, s.x); CALC (s.a, res_ref); +#if AVX512F_LEN != 128 + res1.x = INTRINSIC (_ipcvtts_roundph_epu8) (s.x, 8); + res2.x = INTRINSIC (_mask_ipcvtts_roundph_epu8) (res2.x, mask, s.x, 8); + res3.x = INTRINSIC (_maskz_ipcvtts_roundph_epu8) (mask, s.x, 8); + if (UNION_CHECK (AVX512F_LEN, i_w) (res1, res_ref)) abort (); @@ -71,4 +70,5 @@ TEST (void) MASK_ZERO (i_w) (res_ref, mask, SIZE); if (UNION_CHECK (AVX512F_LEN, i_w) (res3, res_ref)) abort (); +#endif } |