public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, rs6000] Fix PR86952 (p8-vec-xl-xst-v2.c)
@ 2018-09-18 20:31 Will Schmidt
  2018-09-18 20:34 ` [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c) Will Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Will Schmidt @ 2018-09-18 20:31 UTC (permalink / raw)
  To: Segher Boessenkool, Bill Schmidt, David Edelsohn; +Cc: GCC Patches

Hi,

The expected codegen for this testcase with target {le} and
option -mcpu=power8 is lxvd2x and stxvd2x.  It was initially
committed with contents as seen on builds for P7, which was
incorrect.  Update as is appropriate.

[testsuite]

2018-09-18  Will Schmidt  <will_schmidt@vnet.ibm.com>

	PR testsuite/86952
	* p8-vec-xl-xst-v2.c: Add and update expected codegen.

diff --git a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c
index cc68ceb..6f48d72 100644
--- a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c
+++ b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c
@@ -57,8 +57,7 @@ void
 bartle (vector unsigned short x, unsigned short * address)
 {
   vec_xst (x, 0, address);
 }
 
-/* { dg-final { scan-assembler-times "lvx" 4 } } */
-/* { dg-final { scan-assembler-times "stvx"  4 } } */
-/* { dg-final { scan-assembler-times "xxpermdi" 0 } } */
+/* { dg-final { scan-assembler-times {\mlxvd2x\M} 4 } } */
+/* { dg-final { scan-assembler-times {\mstxvd2x\M} 4 } } */


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

* Re: [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c)
  2018-09-18 20:31 [PATCH, rs6000] Fix PR86952 (p8-vec-xl-xst-v2.c) Will Schmidt
@ 2018-09-18 20:34 ` Will Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Will Schmidt @ 2018-09-18 20:34 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: Bill Schmidt, David Edelsohn, GCC Patches

On Tue, 2018-09-18 at 15:27 -0500, Will Schmidt wrote:
> Hi,
> 
> The expected codegen for this testcase with target {le} and
> option -mcpu=power8 is lxvd2x and stxvd2x.  It was initially
> committed with contents as seen on builds for P7, which was
> incorrect.  Update as is appropriate.
> 
> [testsuite]
> 
> 2018-09-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
> 
> 	PR testsuite/86952

nuts, sorry, this should have been pr testsuite 86592.
let me try this again....


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

end of thread, other threads:[~2018-09-18 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18 20:31 [PATCH, rs6000] Fix PR86952 (p8-vec-xl-xst-v2.c) Will Schmidt
2018-09-18 20:34 ` [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c) Will Schmidt

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