mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8349851: RISC-V: Call VM leaf can use movptr2
Reviewed-by: fyang, mli
This commit is contained in:
parent
adc3f53d24
commit
a637ccf2fe
@ -793,7 +793,7 @@ void MacroAssembler::call_VM_leaf_base(address entry_point,
|
||||
Label *retaddr) {
|
||||
int32_t offset = 0;
|
||||
push_reg(RegSet::of(t1, xmethod), sp); // push << t1 & xmethod >> to sp
|
||||
mv(t1, entry_point, offset);
|
||||
movptr(t1, entry_point, offset, t0);
|
||||
jalr(t1, offset);
|
||||
if (retaddr != nullptr) {
|
||||
bind(*retaddr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user