From: Roger Sayle Date: Wed, 7 Aug 2024 11:52:26 +0000 (+0100) Subject: testsuite: Fix recent regression of g++.dg/other/sse2-pr85572-1.C X-Git-Tag: basepoints/gcc-16~6760 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=990a65fb1aa5d1b05a7737df879afb6900e2ce96;p=thirdparty%2Fgcc.git testsuite: Fix recent regression of g++.dg/other/sse2-pr85572-1.C 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 gcc/testsuite/ChangeLog * g++.dg/other/sse2-pr85572-1.C: Update expected output after my recent patch for ashrv2di3. Now with one less instruction. --- diff --git a/gcc/testsuite/g++.dg/other/sse2-pr85572-1.C b/gcc/testsuite/g++.dg/other/sse2-pr85572-1.C index e4c44239424..46edc065c33 100644 --- a/gcc/testsuite/g++.dg/other/sse2-pr85572-1.C +++ b/gcc/testsuite/g++.dg/other/sse2-pr85572-1.C @@ -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)));