[11u] RFR(M): 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace and 8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Jan 18 20:14:18 UTC 2019


It was my suggestion to avoid breakage if changes pushed separately.
But I am fine to separate them if you are going to push them together.

Thanks,
Vladimir

On 1/18/19 12:34 AM, Lindenmaier, Goetz wrote:
> Hi Gustavo,
> 
> I'm fine with downporting this feature. I also will sponsor this.
> But I would prefer that you request downport for the two
> changes as-is, without merging them. I'll make sure they are
> pushed together so that nothing breaks.
> 
> This also answers your questions wrt. the authors and reviewers:
> just leave them as-is.
> You don't need to update the copyright.
> 
> So please send two RFRs. Send them to the lists where
> the changes were originally reviewed. Point out
> the tiny changes you made.
> 
> Once you sent the review, you can do the normal
> downport request as you did for 8214205, just add
> a link to your RFR mail in the pipermail archive as in
> https://bugs.openjdk.java.net/browse/JDK-8211856
> (where I also used the wrong mailing list :) )
> 
> Best regards,
>    Goetz.
> 
> 
>> -----Original Message-----
>> From: jdk-updates-dev <jdk-updates-dev-bounces at openjdk.java.net> On
>> Behalf Of Gustavo Romero
>> Sent: Freitag, 18. Januar 2019 07:11
>> To: jdk-updates-dev at openjdk.java.net; vladimir.kozlov at oracle.com; Doerr,
>> Martin <martin.doerr at sap.com>
>> Cc: Michihiro Horie <HORIE at jp.ibm.com>
>> Subject: [11u] RFR(M): 8213754: PPC64: Add Intrinsics for
>> isDigit/isLowerCase/isUpperCase/isWhitespace and 8215317: [GRAAL] unit
>> test CheckGraalIntrinsics failed after 8213754
>>
>> Hi,
>>
>> Could the following backport be reviewed, please?
>>
>> Webrev: http://cr.openjdk.java.net/~gromero/8213754_8215317_jdk11u/v1/
>>
>> This backport combines the following two changes in one:
>>
>> 8213754: PPC64: Add Intrinsics for
>> isDigit/isLowerCase/isUpperCase/isWhitespace
>> https://bugs.openjdk.java.net/browse/JDK-8213754
>> http://hg.openjdk.java.net/jdk/jdk/rev/7384e00d5860
>>
>> 8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754
>> https://bugs.openjdk.java.net/browse/JDK-8215317
>> http://hg.openjdk.java.net/jdk/jdk/rev/108a161aed93
>>
>> 8213754 adds intrinsics that use new instructions introduced by POWER9
>> CPUs
>> to speed up methods isDigit, isLowerCase, isUpperCase, and isWhitespace.
>> Change 8213754 is mostly PPC64-only but it does touch shared code, for
>> instance, in order to introduce/adapt in the libraries the methods in
>> question so they can be properly intrinsified. In doing so it can break the
>> Graal test HotspotTest.java/CheckGraalIntrinsics.java that checks for
>> intrinsics,
>> hence change 8215317, which adjusts that Graal test by including the new
>> intrinsics, is also backported and included in this change with 8213754.
>>
>> 8213754 applies almost cleanly: only a small tweak is necessary because the
>> hunk for ppc.ad file relies on some absent text around the change to be
>> applied. The absent text is from the Superword feature (a non-related
>> feature) that is not backported yet to 11u.
>>
>> 821531 was only adapted to match the inclusion of the intrinsics when JDK
>> is 11 or higher, instead of 12 or higher (original patch).
>>
>> The copyright dates were updated in all touched files to include 2019.
>>
>> This backportt was tested on POWER8 and POWER9 and no regressions were
>> observed.
>>
>> This backport was also tested on x86_64 with
>> ./test/hotspot/jtreg/compiler/{c1,c2,intrinsics} and
>> ./test/hotspot/jtreg/compiler/graalunit (with Graal compiler enabled) and
>> no regressions were observed too.
>>
>> I'm not sure which author I should keep since it's a combined changeset. Is
>> it ok to use me as the author?
>>
>> I also merged the reviewers. Is that ok as well?
>>
>> Thank you.
>>
>> Best regards,
>> Gustavo
> 


More information about the jdk-updates-dev mailing list