]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-optimization/116258 - fix i386 testcase
authorRichard Biener <rguenther@suse.de>
Thu, 8 Aug 2024 07:35:42 +0000 (09:35 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 8 Aug 2024 07:37:15 +0000 (09:37 +0200)
With -march=cascadelake we use vpermilps instead of shufps.

PR tree-optimization/116258
* gcc.target/i386/pr116258.c: Also allow vpermilps.

gcc/testsuite/gcc.target/i386/pr116258.c

index bd7d3a97b2c87263ae3f63474a9dba5bf53a932c..cb67e4085c5d6182016a8e8227948edfe13eb80d 100644 (file)
@@ -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" } } */