RFR: 8294187: RISC-V: Unify all relocations for the backend into MacroAssembler::relocate()

Yadong Wang yadongwang at openjdk.org
Fri Sep 23 01:05:20 UTC 2022


On Thu, 22 Sep 2022 06:56:05 GMT, Xiaolin Zheng <xlinzheng at openjdk.org> wrote:

> Unify all relocations into MacroAssembler::relocate() as a simple cleanup, so that there are platform-related entrances for them. We will have needs to insert some code into the new MacroAssembler::relocate() afterward. Also, the (__ pc()) everywhere seems a little verbose here.
> 
> Tested hotspot tier1 and tier2 on QEMU.

Looks fine. But it's best to point out that it's bridging to the compressed-instruction-related relocation.

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

Marked as reviewed by yadongwang (Author).

PR: https://git.openjdk.org/jdk/pull/10384


More information about the hotspot-dev mailing list