< prev index next >
src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp
Print this page
8248238: Adding Windows support to OpenJDK on AArch64
Summary: Adding Windows support for AArch64
Contributed-by: Ludovic Henry <luhenry@microsoft.com>, Monica Beckwith <monica.beckwith@microsoft.com>
Reviewed-by:
*** 289,299 ****
__ load(generate_address(base, disp, type), reg1, info);
__ cmp(condition, reg, reg1);
}
! bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
if (is_power_of_2(c - 1)) {
__ shift_left(left, exact_log2(c - 1), tmp);
__ add(tmp, left, result);
return true;
--- 289,299 ----
__ load(generate_address(base, disp, type), reg1, info);
__ cmp(condition, reg, reg1);
}
! bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, jint c, LIR_Opr result, LIR_Opr tmp) {
if (is_power_of_2(c - 1)) {
__ shift_left(left, exact_log2(c - 1), tmp);
__ add(tmp, left, result);
return true;
< prev index next >