From: liuhongt Date: Mon, 7 Sep 2020 07:23:39 +0000 (+0800) Subject: Adjust testcase. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=995bb851ffee659cb86aa24bf36ad5bb5d36da7b;p=gcc.git 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. --- diff --git a/gcc/testsuite/gcc.target/i386/pr92658-avx512bw-trunc.c b/gcc/testsuite/gcc.target/i386/pr92658-avx512bw-trunc.c index 1f5ea63b08a..c1982f91383 100644 --- a/gcc/testsuite/gcc.target/i386/pr92658-avx512bw-trunc.c +++ b/gcc/testsuite/gcc.target/i386/pr92658-avx512bw-trunc.c @@ -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)));