public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6532] Fix pr101384-1.c code generation test.
@ 2022-01-12 16:56 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2022-01-12 16:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:18d88d11973c63bda4e586b979b71d48c1d9b78a

commit r12-6532-g18d88d11973c63bda4e586b979b71d48c1d9b78a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jan 12 11:56:22 2022 -0500

    Fix pr101384-1.c code generation test.
    
    Add support for the compiler using XXSPLTIB reg,255 to load all 1's into a
    register on power9 and above instead of using VSPLTI{B,H,W} reg,-1.
    
    gcc/testsuite/
    2022-01-12  Michael Meissner  <meissner@the-meissners.org>
    
            PR testsuite/102935
            * gcc.target/powerpc/pr101384-1.c: Update insn regexp for power9
            and power10.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/pr101384-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr101384-1.c b/gcc/testsuite/gcc.target/powerpc/pr101384-1.c
index 627d7d76721..41cf84bf8bc 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr101384-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr101384-1.c
@@ -2,7 +2,7 @@
 /* { dg-do compile { target le } } */
 /* { dg-options "-O2 -maltivec" } */
 /* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M} 9 } } */
+/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M|\mxxspltib[^\n\r]*,255\M} 9 } } */
 /* { dg-final { scan-assembler-times {\mvslw\M} 3 } } */
 /* { dg-final { scan-assembler-times {\mvslh\M} 3 } } */
 /* { dg-final { scan-assembler-times {\mvslb\M} 3 } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-12 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 16:56 [gcc r12-6532] Fix pr101384-1.c code generation test Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).