Skip to content

Commit

Permalink
8292338: aarch64: Use cbnz instruction in gen_continuation_enter when…
Browse files Browse the repository at this point in the history
… possible

Reviewed-by: haosun, shade, aph
  • Loading branch information
RealFYang committed Aug 16, 2022
1 parent 21f4eb2 commit d1edda8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

1 comment on commit d1edda8

@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.