8292338: aarch64: Use cbnz instruction in gen_continuation_enter when possible

Reviewed-by: haosun, shade, aph
This commit is contained in:
Fei Yang 2022-08-16 07:18:30 +00:00
parent 21f4eb2233
commit d1edda8ff5

View File

@ -1050,8 +1050,7 @@ static void gen_continuation_enter(MacroAssembler* masm,
fill_continuation_entry(masm);
__ cmp(c_rarg2, (u1)0);
__ br(Assembler::NE, call_thaw);
__ cbnz(c_rarg2, call_thaw);
address mark = __ pc();
__ trampoline_call(resolve);
@ -1076,8 +1075,7 @@ static void gen_continuation_enter(MacroAssembler* masm,
fill_continuation_entry(masm);
__ cmp(c_rarg2, (u1)0);
__ br(Assembler::NE, call_thaw);
__ cbnz(c_rarg2, call_thaw);
address mark = __ pc();
__ trampoline_call(resolve);