* [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c)
@ 2018-09-18 20:39 Will Schmidt
2018-09-21 15:04 ` Segher Boessenkool
0 siblings, 1 reply; 3+ messages in thread
From: Will Schmidt @ 2018-09-18 20:39 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/86592
* 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] 3+ messages in thread
* Re: [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c)
2018-09-18 20:39 [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c) Will Schmidt
@ 2018-09-21 15:04 ` Segher Boessenkool
0 siblings, 0 replies; 3+ messages in thread
From: Segher Boessenkool @ 2018-09-21 15:04 UTC (permalink / raw)
To: Will Schmidt; +Cc: Bill Schmidt, David Edelsohn, GCC Patches
On Tue, Sep 18, 2018 at 03:34:25PM -0500, Will Schmidt wrote:
> 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.
> 2018-09-18 Will Schmidt <will_schmidt@vnet.ibm.com>
>
> PR testsuite/86592
> * p8-vec-xl-xst-v2.c: Add and update expected codegen.
gcc.target/powerpc/...
> -/* { 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 } } */
Should it not check for xxpermdi? Okay for trunk with whichever way
you decide. Thanks!
Segher
^ permalink raw reply [flat|nested] 3+ 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; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2018-09-21 14:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18 20:39 [PATCH, rs6000] Fix PR86592 (p8-vec-xl-xst-v2.c) Will Schmidt
2018-09-21 15:04 ` Segher Boessenkool
-- strict thread matches above, loose matches on Subject: below --
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).