public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work041)] Update tests.
@ 2021-03-13 20:39 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-03-13 20:39 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:154cb71daa376e63a3d2eaa1876b2dc3d104c114

commit 154cb71daa376e63a3d2eaa1876b2dc3d104c114
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Sat Mar 13 15:38:36 2021 -0500

    Update tests.
    
    gcc/testsuite/
    2021-03-12  Michael Meissner  <meissner@linux.ibm.com>
    
            * gcc.target/powerpc/p10-df-const.c: New test.
            * gcc.target/powerpc/p10-sf-const.c: New test.
            * gcc.target/powerpc/xxspltidp-df.c: Delete.
            * gcc.target/powerpc/xxspltidp-sf.c: Delete.
            * gcc.target/powerpc/vec-splati-runnable.c: Update XXSPLTIDP
            count.

Diff:
---
 .../gcc.target/powerpc/{xxspltidp-df.c => p10-df-const.c}        | 9 ++++-----
 .../gcc.target/powerpc/{xxspltidp-sf.c => p10-sf-const.c}        | 9 ++++-----
 gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c           | 2 +-
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/xxspltidp-df.c b/gcc/testsuite/gcc.target/powerpc/p10-df-const.c
similarity index 67%
rename from gcc/testsuite/gcc.target/powerpc/xxspltidp-df.c
rename to gcc/testsuite/gcc.target/powerpc/p10-df-const.c
index f549788acb3..9258a82debf 100644
--- a/gcc/testsuite/gcc.target/powerpc/xxspltidp-df.c
+++ b/gcc/testsuite/gcc.target/powerpc/p10-df-const.c
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target power10_ok } */
 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
 
-/* Test loading DF floating point constants.  */
+/* Test loading DF floating point constants using either XXLOR or XXSPLTIDP.  */
 
 double
 zero (void)
@@ -34,7 +34,6 @@ subnormal (void)
   return 0x1p-149;		/* PLFD, PLXSSP  */
 }
 
-/* { dg-final { scan-assembler-times {\mxxlxor\|vsplitsw\|xxspltib\M} 1 } } */
-/* { dg-final { scan-assembler-times {\mxxspltidp\M}                  3 } } */
-/* { dg-final { scan-assembler-times {\mp?lfs|p?lxsdx?\M}             1 } } */
-
+/* { dg-final { scan-assembler-times {\mxxlxor|vsplitsw|xxspltib\M} 1 } } */
+/* { dg-final { scan-assembler-times {\mxxspltidp\M}                3 } } */
+/* { dg-final { scan-assembler-times {\mp?lfd|p?lxsdx?\M}           1 } } */
diff --git a/gcc/testsuite/gcc.target/powerpc/xxspltidp-sf.c b/gcc/testsuite/gcc.target/powerpc/p10-sf-const.c
similarity index 75%
rename from gcc/testsuite/gcc.target/powerpc/xxspltidp-sf.c
rename to gcc/testsuite/gcc.target/powerpc/p10-sf-const.c
index b8efda94857..db7d29e8bbd 100644
--- a/gcc/testsuite/gcc.target/powerpc/xxspltidp-sf.c
+++ b/gcc/testsuite/gcc.target/powerpc/p10-sf-const.c
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target power10_ok } */
 /* { dg-options "-O2 -mdejagnu-cpu=power10" } */
 
-/* Test loading SF floating point constants.  */
+/* Test loading SF floating point constants using either XXLOR or XXSPLTIDP.  */
 
 float zero (void)
 {
@@ -29,7 +29,6 @@ float subnormal (void)
   return 0x1p-149f;		/* PLFS, PLXSSP  */
 }
 
-/* { dg-final { scan-assembler-times {\mxxlxor\|vsplitsw\|xxspltib\M} 1 } } */
-/* { dg-final { scan-assembler-times {\mxxspltidp\M}                  3 } } */
-/* { dg-final { scan-assembler-times {\mp?lfs|p?lxsspx?\M}            1 } } */
-
+/* { dg-final { scan-assembler-times {\mxxlxor|vsplitsw|xxspltib\M} 1 } } */
+/* { dg-final { scan-assembler-times {\mxxspltidp\M}                3 } } */
+/* { dg-final { scan-assembler-times {\mp?lfs|p?lxsspx?\M}          1 } } */
diff --git a/gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c b/gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c
index 2d67378d4ae..58f6223c2ad 100644
--- a/gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c
+++ b/gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c
@@ -161,7 +161,7 @@ main (int argc, char *argv [])
 }
 
 /* { dg-final { scan-assembler-times {\mxxspltiw\M} 4 } } */
-/* { dg-final { scan-assembler-times {\mxxspltidp\M} 2 } } */
+/* { dg-final { scan-assembler-times {\mxxspltidp\M} 3 } } */
 /* { dg-final { scan-assembler-times {\mxxsplti32dx\M} 3 } } */


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

only message in thread, other threads:[~2021-03-13 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13 20:39 [gcc(refs/users/meissner/heads/work041)] Update tests 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).