Adjust testcase.

gcc/testsuite/ChangeLog:

	* gcc.target/i386/pr92658-avx512bw-trunc.c: Add
	-mprefer-vector-width=512 to avoid impact of different default
	tune which gcc is built with.
This commit is contained in:
liuhongt 2020-09-07 15:23:39 +08:00
parent 0fd39e420e
commit 995bb851ff
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/* PR target/92658 */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -mavx512bw -mavx512vl" } */
/* { dg-options "-O2 -ftree-vectorize -mavx512bw -mavx512vl -mprefer-vector-width=512" } */
typedef unsigned char v8qi __attribute__((vector_size (8)));
typedef unsigned char v16qi __attribute__((vector_size (16)));