8315545: C1: x86 cmove can use short branches

Reviewed-by: adinn, kvn
This commit is contained in:
Aleksey Shipilev 2023-09-04 11:02:52 +00:00
parent d7e4087faf
commit 6c821f5e1d

View File

@ -2047,7 +2047,7 @@ void LIR_Assembler::cmove(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, L
} else {
Label skip;
__ jcc (acond, skip);
__ jccb(acond, skip);
if (opr2->is_cpu_register()) {
reg2reg(opr2, result);
} else if (opr2->is_stack()) {