JDK-8213754 : PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: ppc
  • Submitted: 2018-11-12
  • Updated: 2023-01-11
  • Resolved: 2018-12-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 JDK 13
11.0.3Fixed 12 b24Fixed 13Fixed
Related Reports
Relates :  
Description
POWER9 supports some interesting new instructions to compare a byte against a range/byte array (like cmprb and cmpeqb) that can be used to improve the performance of Character methods like isDigit/isLowerCase/isUpperCase/isWhitespace.
Comments
Fix Request This change adds 4 intrinsics that use POWER9-specific instruction to speed up methods isDigit, isLowerCase, isUpperCase, and isWhitespace. In doing so, it also paves the way to other architectures to do a similar enhancement. The review thread is here: https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-January/032267.html
21-01-2019

Discussions in RFR started from just PPC64 changes but later expanded toward the changes involving shared code. I needed to remove "PPC64" in some way. I'm sorry.
13-12-2018

This bug gives the illusion that it only affects PPC64 yet a lot of shared code was modified!
13-12-2018

URL: http://hg.openjdk.java.net/jdk/jdk/rev/7384e00d5860 User: gromero Date: 2018-12-12 13:15:20 +0000
12-12-2018