public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6540] testsuite: Adjust pr101384-2.c for Power9 [PR108813]
@ 2023-03-08  6:59 Kewen Lin
  0 siblings, 0 replies; only message in thread
From: Kewen Lin @ 2023-03-08  6:59 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3be550e35e1c67327d3724380632512872224178

commit r13-6540-g3be550e35e1c67327d3724380632512872224178
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Wed Mar 8 00:56:32 2023 -0600

    testsuite: Adjust pr101384-2.c for Power9 [PR108813]
    
    Compiled with cpu type Power9 or later, GCC generates
    xxspltib rather than vspltis*, so adjust the test
    case scanning content accordingly.
    
            PR testsuite/108813
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/powerpc/pr101384-2.c: Adjust with xxspltib.

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

diff --git a/gcc/testsuite/gcc.target/powerpc/pr101384-2.c b/gcc/testsuite/gcc.target/powerpc/pr101384-2.c
index f3957086b04..c14891b5ab4 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr101384-2.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr101384-2.c
@@ -2,7 +2,7 @@
 /* { dg-do compile { target be } } */
 /* { 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:[~2023-03-08  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08  6:59 [gcc r13-6540] testsuite: Adjust pr101384-2.c for Power9 [PR108813] Kewen Lin

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