]> Git Repo - qemu.git/commit - target/m68k/op_helper.c
target-m68k: add cas/cas2 ops
authorLaurent Vivier <[email protected]>
Mon, 11 Jan 2016 00:33:26 +0000 (01:33 +0100)
committerLaurent Vivier <[email protected]>
Tue, 27 Dec 2016 17:21:09 +0000 (18:21 +0100)
commit14f944063affbcc7bd6df42b060793dbfee8a822
tree38b0f3ba0c2537980c27456db475917cf04a12b2
parentfb5543d820018a46b713911e7653594be727ca98
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 <[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
target/m68k/helper.h
target/m68k/op_helper.c
target/m68k/translate.c
This page took 0.024928 seconds and 4 git commands to generate.