Skip to content

Commit 6f3e3fd

Browse files
committed
8339411: [PPC64] cmpxchgw/h/b doesn't handle external Label
Reviewed-by: lucy, mbaesken
1 parent ed422ed commit 6f3e3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/ppc/macroAssembler_ppc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ void MacroAssembler::cmpxchg_generic(ConditionRegister flag, Register dest_curre
17371737

17381738
cmpxchg_loop_body(flag, dest_current_value, compare_value, exchange_value, addr_base, tmp1, tmp2,
17391739
retry, failed, cmpxchgx_hint, size);
1740-
if (!weak || use_result_reg) {
1740+
if (!weak || use_result_reg || failed_ext) {
17411741
if (UseStaticBranchPredictionInCompareAndSwapPPC64) {
17421742
bne_predict_not_taken(CCR0, weak ? failed : retry); // StXcx_ sets CCR0.
17431743
} else {

0 commit comments

Comments
 (0)