RFR: 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace

Michihiro Horie HORIE at jp.ibm.com
Fri Nov 16 11:52:35 UTC 2018

Dear all,

Would you please review following change?

Bug: https://bugs.openjdk.java.net/browse/JDK-8213754
Webrev: http://cr.openjdk.java.net/~mhorie/8213754/webrev.00

This change includes the intrinsics of Character isDigit, isLowerCase,
isUpperCase, and isWhitespace to support the Latin1 block using POWER9’s
instructions cmprb and cmpeqb. The cmprb enables to compare a character
with 1 or 2 ranged bytes, while the cmpeqb compares one with 1 to 8 values.
Simple micro benchmark attached showed improvements by 20-40%.

(See attached file: Latin1Test.java)

Best regards,
IBM Research - Tokyo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20181116/002a81c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Latin1Test.java
Type: application/octet-stream
Size: 4074 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20181116/002a81c5/Latin1Test-0001.java>

More information about the hotspot-compiler-dev mailing list