RFR: 8224090: [PPC64] Fix SLP patterns for filling an array with double float literals
Kazunori Ogata
OGATAK at jp.ibm.com
Tue May 28 10:25:54 UTC 2019
Hi Martin,
Thank you for your review.
Regards,
Ogata
"Doerr, Martin" <martin.doerr at sap.com> wrote on 2019/05/28 18:21:29:
> From: "Doerr, Martin" <martin.doerr at sap.com>
> To: Kazunori Ogata <OGATAK at jp.ibm.com>, "hotspot-compiler-
> dev at openjdk.java.net" <hotspot-compiler-dev at openjdk.java.net>, "ppc-aix-
> port-dev at openjdk.java.net" <ppc-aix-port-dev at openjdk.java.net>
> Date: 2019/05/28 18:21
> Subject: [EXTERNAL] RE: RFR: 8224090: [PPC64] Fix SLP patterns for
filling
> an array with double float literals
>
> Hi Ogata,
>
> looks good. Thanks for fixing.
>
> Best regards,
> Martin
>
>
> > -----Original Message-----
> > From: hotspot-compiler-dev <hotspot-compiler-dev-
> > bounces at openjdk.java.net> On Behalf Of Kazunori Ogata
> > Sent: Freitag, 17. Mai 2019 07:34
> > To: hotspot-compiler-dev at openjdk.java.net; ppc-aix-port-
> > dev at openjdk.java.net
> > Subject: RFR: 8224090: [PPC64] Fix SLP patterns for filling an array
with double
> > float literals
> >
> > Hi,
> >
> > May I get review for a webrev to fix SLP patterns that use PPC64 VSX
> > instructions?
> >
> > We found that SLP patterns added by JDK-8208171 [1] use incorrect data
> > type, so the patterns have never been used. Further, the pattern for
> > filling -1.0 is confused with the operation for filling -1L.
> >
> > This webrev fixes the pattern to fill an array with 0 to use 0.0d
instead
> > of 0d, and removes the pattern to will with -1 because the bit pattern
of
> > -1.0d is not easy to generate using a single VSX instruction. It's
should
> > be better to load the literal from TOC and use general repl2D_reg_Ex
> > pattern.
> >
> > I also fixed some comments in "format %{ ... %}" to show correct
matching
> > types.
> >
> >
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8224090
> >
> > Webrev: http://cr.openjdk.java.net/~horii/8224090/webrev.00/
> >
> > Ref:
> > [1] https://bugs.openjdk.java.net/browse/JDK-8208171
> >
> >
> > Regards,
> > Ogata
>
>
More information about the hotspot-compiler-dev
mailing list