From: Richard Biener Date: Thu, 8 Aug 2024 07:35:42 +0000 (+0200) Subject: tree-optimization/116258 - fix i386 testcase X-Git-Tag: basepoints/gcc-16~6742 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa4cd913e48cfce3ca0ab58cf6f80f55dbb0f58;p=thirdparty%2Fgcc.git tree-optimization/116258 - fix i386 testcase With -march=cascadelake we use vpermilps instead of shufps. PR tree-optimization/116258 * gcc.target/i386/pr116258.c: Also allow vpermilps. --- diff --git a/gcc/testsuite/gcc.target/i386/pr116258.c b/gcc/testsuite/gcc.target/i386/pr116258.c index bd7d3a97b2c..cb67e4085c5 100644 --- a/gcc/testsuite/gcc.target/i386/pr116258.c +++ b/gcc/testsuite/gcc.target/i386/pr116258.c @@ -10,5 +10,5 @@ return (x + h(t)); } -/* { dg-final { scan-assembler-times "shufps" 1 } } */ +/* { dg-final { scan-assembler-times "shufps|permilps" 1 } } */ /* { dg-final { scan-assembler-not "unpck" } } */