]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix recent regression of g++.dg/other/sse2-pr85572-1.C
authorRoger Sayle <roger@nextmovesoftware.com>
Wed, 7 Aug 2024 11:52:26 +0000 (12:52 +0100)
committerRoger Sayle <roger@nextmovesoftware.com>
Wed, 7 Aug 2024 11:52:26 +0000 (12:52 +0100)
My sincere apologies for not noticing that g++.dg/other/sse2-pr85572-1.C
was FAILing with my recent ashrv2di patch.  I'm not sure how that happened.
Many thanks to Andrew Pinski for alerting me, and confirming that the
changes are harmless/beneficial.  Sorry again for the inconvenience.

2024-08-07  Roger Sayle  <roger@nextmovesoftware.com>

gcc/testsuite/ChangeLog
* g++.dg/other/sse2-pr85572-1.C: Update expected output after
my recent patch for ashrv2di3.  Now with one less instruction.

gcc/testsuite/g++.dg/other/sse2-pr85572-1.C

index e4c442394243bc89a9c604ddca2a3b220f820a52..46edc065c33c50789588c0e5015d4309feab19f5 100644 (file)
@@ -1,9 +1,10 @@
 // PR target/85572
 // { dg-do compile { target i?86-*-* x86_64-*-* } }
 // { dg-options "-O2 -msse2 -mno-sse3" }
-// { dg-final { scan-assembler-times {\mpxor\M} 2 } }
-// { dg-final { scan-assembler-times {\mpsubq\M} 2 } }
-// { dg-final { scan-assembler-times {\mpsrlq\M} 1 } }
+// { dg-final { scan-assembler-times {\mpsrad\M} 1 } }
+// { dg-final { scan-assembler-times {\mpshufd\M} 1 } }
+// { dg-final { scan-assembler-times {\mpxor\M} 1 } }
+// { dg-final { scan-assembler-times {\mpsubq\M} 1 } }
 
 typedef long long V __attribute__((vector_size (16)));