-
Enhancement
-
Resolution: Fixed
-
P4
-
24
-
b14
-
riscv
-
linux
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
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
- links to
-
Commit(master) openjdk/jdk/dc4fd896
-
Review(master) openjdk/jdk/20805