My recently added testcases gcc.target/i386/pr107548-[12].c need to be
tweaked slightly for -march=cascadelake.  Committed as obvious.


2022-12-24  Roger Sayle  <ro...@nextmovesoftware.com>

gcc/testsuite/ChangeLog
        PR target/107548
        * gcc.target/i386/pr107548-1.c: Match both vmovd and movd.
        * gcc.target/i386/pr107548-2.c: Match both vpaddq and paddq.

Roger
--

diff --git a/gcc/testsuite/gcc.target/i386/pr107548-1.c 
b/gcc/testsuite/gcc.target/i386/pr107548-1.c
index da78f75..f384492 100644
--- a/gcc/testsuite/gcc.target/i386/pr107548-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr107548-1.c
@@ -20,6 +20,6 @@ unsigned int foo3 (v4si a, v4si b)
   return a[0] + a[3];
 }
 
-/* { dg-final { scan-assembler-times "\tmovd\t" 3 } } */
-/* { dg-final { scan-assembler-times "paddd" 6 } } */
+/* { dg-final { scan-assembler-times "\tv?movd\t" 3 } } */
+/* { dg-final { scan-assembler-times "v?paddd" 6 } } */
 /* { dg-final { scan-assembler-not "addl" } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr107548-2.c 
b/gcc/testsuite/gcc.target/i386/pr107548-2.c
index b57594e..58f7b1c 100644
--- a/gcc/testsuite/gcc.target/i386/pr107548-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr107548-2.c
@@ -9,5 +9,5 @@ unsigned long long foo(v2di a, v2di b)
 }
 
 /* { dg-final { scan-assembler-not "\taddq\t" } } */
-/* { dg-final { scan-assembler-times "paddq" 2 } } */
-/* { dg-final { scan-assembler "psrldq" } } */
+/* { dg-final { scan-assembler-times "v?paddq" 2 } } */
+/* { dg-final { scan-assembler "v?psrldq" } } */

Reply via email to