public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, rs6000] (v2) fold-vec-ld* testcase updates for power9
@ 2017-11-20 22:38 Will Schmidt
  2017-11-23 19:35 ` Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: Will Schmidt @ 2017-11-20 22:38 UTC (permalink / raw)
  To: GCC Patches; +Cc: Segher Boessenkool, Bill Schmidt, David Edelsohn

Hi, 
Update the scan-assembler stanza to include those instructions
generated for a power9 target.
    
        2017-11-20  Will Schmidt  <will_schmidt@vnet.ibm.com>
    
        [testsuite]

        * fold-vec-ld-char.c: Add lxv insn to expected output.
        * fold-vec-ld-double.c: Add lxv insn to expected output.
        * fold-vec-ld-float.c: Add lxv insn to expected output.
        * fold-vec-ld-int.c: Add lxv insn to expected output.
        * fold-vec-ld-longlong.c: Add lxv insn to expected output.
        * fold-vec-ld-short.c: Add lxv insn to expected output.

diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-char.c
index f9ef3e0..9ed1a94 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-char.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-char.c
@@ -65,7 +65,7 @@ vector bool char
 testld_cst_vbc (vector bool char vbc2)
 {
   return vec_ld (80, &vbc2);
 }
 
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M}  10 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M|\mlxv\M} 10 } } */
 
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-double.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-double.c
index 9c6fbb2..1577fb8 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-double.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-double.c
@@ -17,6 +17,6 @@ vector double
 testld_cst_vd (long long ll1, vector double vd)
 {
   return vec_ld (16, &vd);
 }
 
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M} 2 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxv\M} 2 } } */
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-float.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-float.c
index eca847a..ff6b965 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-float.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-float.c
@@ -31,7 +31,7 @@ testld_cst_f (float f2)
   return vec_ld (16, &f2);
 }
 
 // lvx - generated by ll_vf and ll_f
 // lxvd2x - generated by cst_vf and cst_f
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M} 4 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxv\M} 4 } } */
 
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-int.c
index 5dc6df6..8a477d0 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-int.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-int.c
@@ -65,7 +65,7 @@ vector bool int
 testld_cst_vbi (vector bool int vbi2)
 {
   return vec_ld (80, &vbi2);
 }
 
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M} 10 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M|\mlxv\M} 10 } } */
 
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c
index db4a879..9b4a952 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-longlong.c
@@ -41,7 +41,7 @@ vector bool long long
 testld_cst_vbl (vector bool long vbl2)
 {
   return vec_ld (48, &vbl2);
 }
 
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M} 6 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxv\M} 6 } } */
 
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-short.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-short.c
index 5e42844..bb4835b 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-short.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-short.c
@@ -65,7 +65,7 @@ vector bool short
 testld_cst_vbs (vector bool short vbs2)
 {
   return vec_ld (80, &vbs2);
 }
 
-/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M} 10 } } */
+/* { dg-final { scan-assembler-times {\mlvx\M|\mlxvd2x\M|\mlxvw4x\M|\mlxv\M} 10 } } */
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, rs6000] (v2) fold-vec-ld* testcase updates for power9
  2017-11-20 22:38 [PATCH, rs6000] (v2) fold-vec-ld* testcase updates for power9 Will Schmidt
@ 2017-11-23 19:35 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2017-11-23 19:35 UTC (permalink / raw)
  To: Will Schmidt; +Cc: GCC Patches, Bill Schmidt, David Edelsohn

Hi Will,

On Mon, Nov 20, 2017 at 04:05:55PM -0600, Will Schmidt wrote:
> Update the scan-assembler stanza to include those instructions
> generated for a power9 target.
>     
>         2017-11-20  Will Schmidt  <will_schmidt@vnet.ibm.com>
>     
>         [testsuite]
> 
>         * fold-vec-ld-char.c: Add lxv insn to expected output.
>         * fold-vec-ld-double.c: Add lxv insn to expected output.
>         * fold-vec-ld-float.c: Add lxv insn to expected output.
>         * fold-vec-ld-int.c: Add lxv insn to expected output.
>         * fold-vec-ld-longlong.c: Add lxv insn to expected output.
>         * fold-vec-ld-short.c: Add lxv insn to expected output.

You have the pathnames wrong?  Should include gcc.target/powerpc/ .
Okay otherwise.  Thanks,


Segher

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-23 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 22:38 [PATCH, rs6000] (v2) fold-vec-ld* testcase updates for power9 Will Schmidt
2017-11-23 19:35 ` Segher Boessenkool

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