Adjust testcase.
authorliuhongt <hongtao.liu@intel.com>
Mon, 7 Sep 2020 07:23:39 +0000 (15:23 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 7 Sep 2020 07:26:18 +0000 (15:26 +0800)
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.

gcc/testsuite/gcc.target/i386/pr92658-avx512bw-trunc.c

index 1f5ea63b08a6bf302405cb08889174eecf447d81..c1982f9138395a62c57fc9608362f4a6b869be53 100644 (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)));