]> Git Repo - qemu.git/commit - target/mips/helper.c
target/mips: reimplement SC instruction emulation and use cmpxchg
authorLeon Alrae <[email protected]>
Mon, 11 Feb 2019 15:09:23 +0000 (16:09 +0100)
committerAleksandar Markovic <[email protected]>
Thu, 14 Feb 2019 16:47:28 +0000 (17:47 +0100)
commit33a07fa2db66376e6ee780d4a8b064dc5118cf34
tree67abf3dfc5fb163e7437f697480eeccb489cf536
parentc7c7e1e9a5e3f0a8a1dbff6e4ccfd21c2dc9f845
target/mips: reimplement SC instruction emulation and use cmpxchg

Completely rewrite conditional stores handling. Use cmpxchg.

This eliminates need for separate implementations of SC instruction
emulation for user and system emulation.

Signed-off-by: Leon Alrae <[email protected]>
Signed-off-by: Miodrag Dinic <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
Acked-by: Alex BennĂ©e <[email protected]>
Tested-by: Emilio G. Cota <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
linux-user/mips/cpu_loop.c
target/mips/cpu.h
target/mips/helper.c
target/mips/helper.h
target/mips/op_helper.c
target/mips/translate.c
This page took 0.030286 seconds and 4 git commands to generate.