Integrated: 8339359: RISC-V: Use auipc explicitly in far_jump and far_call macro assembler routines

Fei Yang fyang at openjdk.org
Tue Sep 3 07:01:25 UTC 2024


On Mon, 2 Sep 2024 01:15:36 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Previous discussion: https://github.com/openjdk/jdk/pull/18942#issuecomment-2109162337
> 
> For MacroAssembler::far_call and MacroAssembler::far_jump, I would suggest we use explicit
> auipc instead of MacroAssembler::la for them as the destination is ensured to be in code cache.
> This will help save unnecessary check in MacroAssembler::la and make the code more consistent.
> Also this will help distinguish these two macro assembler routines from MacroAssembler::rt_call
> 
> Testing:
> - [x] release & fastdebug builds
> - [x] Tiered 1-3 tests

This pull request has now been integrated.

Changeset: dc4fd896
Author:    Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dc4fd896289db1d2f6f7bbf5795fec533448a48c
Stats:     12 lines in 1 file changed: 7 ins; 0 del; 5 mod

8339359: RISC-V: Use auipc explicitly in far_jump and far_call macro assembler routines

Reviewed-by: rehn, luhenry

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

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


More information about the hotspot-dev mailing list