Integrated: 8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines
Anjian-Wen
duke at openjdk.org
Tue May 13 03:08:56 UTC 2025
On Sun, 11 May 2025 13:10:27 GMT, Anjian-Wen <duke at openjdk.org> wrote:
> The correctness of the logic depends on the fixed instruction size of the store instructions
> emitted by the loop in MacroAssembler::fill_words and MacroAssembler::zero_memory assembler
> routines. These store instructions won't be compressed into 16-bit format due to negative
> offset immediate. But it will be safer to make it explict by declaring an incompressible scope
> when emitting these store instructions. This also renames IncompressibleRegion to IncompressibleScope.
>
> Tier1 tested on linux-riscv64 platforms.
This pull request has now been integrated.
Changeset: adebfa7f
Author: Anjian-Wen <wenanjian at bytedance.com>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/adebfa7ffda6383f5793278ced14a193066c5f6a
Stats: 63 lines in 8 files changed: 7 ins; 1 del; 55 mod
8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines
Reviewed-by: fyang, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/25172
More information about the hotspot-dev
mailing list