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.
// 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)));