-
Enhancement
-
Resolution: Fixed
-
P4
-
24
-
b22
-
riscv
-
linux
Was previously discussed here [1].
Seems not reasonable for `MacroAssembler::j(const Address &dest, Register temp)` to
delegate work to `MacroAssembler::j(const address dest, Register temp)` for literal Address.
As discussed, this could generate a plain `JAL`, which means when we relocate the code, but
the `JAL` immediate could be too large. We can relax this constaint.
[1] https://github.com/openjdk/jdk/pull/21406#issuecomment-2415965656
Seems not reasonable for `MacroAssembler::j(const Address &dest, Register temp)` to
delegate work to `MacroAssembler::j(const address dest, Register temp)` for literal Address.
As discussed, this could generate a plain `JAL`, which means when we relocate the code, but
the `JAL` immediate could be too large. We can relax this constaint.
[1] https://github.com/openjdk/jdk/pull/21406#issuecomment-2415965656
- links to
-
Commit(master) openjdk/jdk/85774b71
-
Review(master) openjdk/jdk/21661