Commit 7126530d authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

s390: fix compare and swap 64 loop

R=joransiu@ca.ibm.com

Change-Id: Ia33e925339c66fcefb9c3739c1985477190dab44
Reviewed-on: https://chromium-review.googlesource.com/c/1294372Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#56871}
parent 6c703ffc
......@@ -2784,8 +2784,8 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
Label do_cs;
__ la(r1, MemOperand(base, index));
__ lg(output, MemOperand(r1));
__ csg(output, value, MemOperand(r1));
__ bind(&do_cs);
__ csg(output, value, MemOperand(r1));
__ bne(&do_cs, Label::kNear);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment