16 Nov
2018
16 Nov
'18
11:52 a.m.
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, -- Michihiro, IBM Research - Tokyo