These two patches change MIPS conditional stores for mttcg. Version 2 is here: https://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg05005.html
v3: * duplicate gen_store_gpr in both branches to avoid tcg_temp_local (Richard) v2: * improved and simplified SC implementation according to Richard's comments Leon Alrae (2): target-mips: compare virtual addresses in LL/SC sequence target-mips: reimplement SC instruction and use cmpxchg linux-user/main.c | 58 ------------------------- target-mips/cpu.h | 7 +-- target-mips/helper.c | 6 +-- target-mips/helper.h | 2 - target-mips/machine.c | 7 +-- target-mips/op_helper.c | 52 +++++++---------------- target-mips/translate.c | 111 +++++++++++++++++------------------------------- 7 files changed, 63 insertions(+), 180 deletions(-) -- 2.7.4