diff options
author | Laurent Vivier <laurent@vivier.eu> | 2016-01-11 01:33:26 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2016-12-27 18:21:09 +0100 |
commit | 14f944063affbcc7bd6df42b060793dbfee8a822 (patch) | |
tree | 38b0f3ba0c2537980c27456db475917cf04a12b2 /target/openrisc/machine.c | |
parent | fb5543d820018a46b713911e7653594be727ca98 (diff) |
target-m68k: add cas/cas2 ops
Implement CAS using cmpxchg.
Implement CAS2 using helper and either cmpxchg when
the 32bit addresses are consecutive, or with
parallel_cpus+cpu_loop_exit_atomic() otherwise.
Suggested-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/machine.c')
0 files changed, 0 insertions, 0 deletions