RFR: 8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines [v2]
duke
duke at openjdk.org
Tue May 13 03:05:55 UTC 2025
On Mon, 12 May 2025 03:25:31 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.
>
> Anjian-Wen has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'openjdk:master' into declare_incompressible
> - RISCV: Declare incompressible scope in fill_words / zero_memory assembler routines
@Anjian-Wen
Your change (at version 92a7cb5413f0a62ab2ffb93088d75a1a044c898b) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25172#issuecomment-2874927077
More information about the hotspot-dev
mailing list