[riscv-port-jdk17u:riscv-port] Integrated: 8307446: RISC-V: Improve performance of floating point to integer conversion
Feilong Jiang
fjiang at openjdk.org
Wed May 24 00:55:25 UTC 2023
On Mon, 22 May 2023 04:22:49 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:
> Hi,
> please review this clean backport of [JDK-8307446](https://bugs.openjdk.org/browse/JDK-8307446).
>
> JHM shows the same improvement on Unmatched board:
>
>
> Benchmark (size) Mode Cnt Score Error Units
> --- baseline -----------------------------------------------------------
> FloatConversion.doubleToInt 2048 thrpt 15 30.270 ? 0.144 ops/ms
> FloatConversion.doubleToLong 2048 thrpt 15 29.831 ? 0.128 ops/ms
> FloatConversion.floatToInt 2048 thrpt 15 30.530 ? 0.031 ops/ms
> FloatConversion.floatToLong 2048 thrpt 15 30.189 ? 0.100 ops/ms
> --- optimized ----------------------------------------------------------
> FloatConversion.doubleToInt 2048 thrpt 15 66.051 ? 0.064 ops/ms
> FloatConversion.doubleToLong 2048 thrpt 15 66.095 ? 0.460 ops/ms
> FloatConversion.floatToInt 2048 thrpt 15 68.114 ? 0.072 ops/ms
> FloatConversion.floatToLong 2048 thrpt 15 68.482 ? 0.193 ops/ms
This pull request has now been integrated.
Changeset: a9384466
Author: Feilong Jiang <fjiang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/riscv-port-jdk17u/commit/a9384466086ca21044ff14bbec59cdef8ebe29b5
Stats: 18 lines in 1 file changed: 0 ins; 1 del; 17 mod
8307446: RISC-V: Improve performance of floating point to integer conversion
Reviewed-by: fyang
Backport-of: 1f57ce0a068a1346f3aa79f861981bd03c6f6d45
-------------
PR: https://git.openjdk.org/riscv-port-jdk17u/pull/57
More information about the riscv-port-dev
mailing list