DescriptionPPC: [Atomics] Make Atomics.exchange a builtin using TF
Implemented l[w|h|b]arx and st[w|h|b]cx instructions which are
needed to perform atomic exchange. Also added synchronization
primitives similar to arm to simulate those instructions.
R=joransiu@ca.ibm.com, jyan@ca.ibm.com, binji@chromium.org, aseemgarg@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2754263004
Cr-Commit-Position: refs/heads/master@{#44257}
Committed: https://chromium.googlesource.com/v8/v8/+/f1ad374480ac9e75239ee076b3b757fa3e066641
Patch Set 1 #Patch Set 2 : fix to the instr seq #Patch Set 3 : rebased #Patch Set 4 : rebased #
Messages
Total messages: 23 (14 generated)
|