On 04/06/2017 11:07 PM, Nikunj A Dadhania wrote:
Emulating LL/SC with cmpxchg is not correct, since it can suffer from the ABA problem. However, portable parallel code is written assuming only cmpxchg which means that in practice this is a viable alternative.Signed-off-by: Nikunj A Dadhania <[email protected]> --- target/ppc/translate.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
