Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8287349: AArch64: Merge LDR instructions to improve C1 OSR performance
Reviewed-by: aph, ngasson, thartmann
  • Loading branch information
Zhuojun Miao authored and TobiHartmann committed Jun 15, 2022
1 parent fe80721 commit 08400f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp
Expand Up @@ -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));
}
}
}
Expand Down

1 comment on commit 08400f1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.