[jdk17u-dev] Integrated: 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Gui Cao
gcao at openjdk.org
Thu Nov 2 11:12:11 UTC 2023
On Thu, 2 Nov 2023 02:53:38 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Hi, this backport to make the test_bit assember function more simpler and to improve performance when the parameter (1UL << bit_pos) exceeds 32-bit range. This is a risc-v specific change.
> Backport is not clean. because the fastlock needs to call test_bit, in the mainline version, the fastlock function is renamed and moved to c2_MacroAssembler_riscv.cpp, but in jdk17u-dev, fastlock is still in riscv.ad.
> ### Testing:
> qemu 8.1.50:
> - [x] Tier1 tests (release)
This pull request has now been integrated.
Changeset: 348a703c
Author: Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/348a703c25e025ac170d45f5c2ddec28d8ac67b6
Stats: 10 lines in 3 files changed: 6 ins; 0 del; 4 mod
8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Reviewed-by: fyang
Backport-of: 988e1dfe6ec9b5e77d2e8a78eb792a127c6fe907
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/1941
More information about the jdk-updates-dev
mailing list