8287349: AArch64: Merge LDR instructions to improve C1 OSR performance

Reviewed-by: aph, ngasson, thartmann
This commit is contained in:
Zhuojun Miao 2022-06-15 05:57:55 +00:00 committed by Tobias Hartmann
parent fe807217a7
commit 08400f18ba

@ -282,10 +282,9 @@ void LIR_Assembler::osr_entry() {
__ bind(L);
}
#endif
__ ldr(r19, Address(OSR_buf, slot_offset + 0));
__ ldp(r19, r20, Address(OSR_buf, slot_offset));
__ str(r19, frame_map()->address_for_monitor_lock(i));
__ ldr(r19, Address(OSR_buf, slot_offset + 1*BytesPerWord));
__ str(r19, frame_map()->address_for_monitor_object(i));
__ str(r20, frame_map()->address_for_monitor_object(i));
}
}
}