[jdk17u-dev] Integrated: 8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V

Dingli Zhang dzhang at openjdk.org
Sun Aug 20 07:08:40 UTC 2023


On Tue, 11 Jul 2023 09:06:38 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> I would like to backport [JDK-8309254](https://bugs.openjdk.org/browse/JDK-8309254). 
> The backport is not clean because 17u has no  [JDK-8302908](https://bugs.openjdk.org/browse/JDK-8302908), which use v0 as mask register.
> The test `test/hotspot/jtreg/compiler/intrinsics/string/TestEncodeIntrinsics.java` passed and command log with "-XX:+PrintOptoAssembly" output is similar to the mainline:
> 
> ...
> 240     Encode ISO array R12, R11, R13 -> R10 # KILL R12, R11, R13, R28, V1-V3
> ...
> 0118    Encode ASCII array R12, R11, R13 -> R10 # KILL R12, R11, R13, R25, V1-V3
> ...

This pull request has now been integrated.

Changeset: 0fa04fe5
Author:    Dingli Zhang <dzhang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/0fa04fe58414a278666669662845553c7bda4e1e
Stats:     47 lines in 4 files changed: 30 ins; 0 del; 17 mod

8309254: Implement fast-path for ASCII-compatible CharsetEncoders on RISC-V

Reviewed-by: fyang
Backport-of: 61bb014a8692305c705a4cf0361e319275c35ca3

-------------

PR: https://git.openjdk.org/jdk17u-dev/pull/1567


More information about the jdk-updates-dev mailing list