target/sparc: check CF_PARALLEL instead of parallel_cpus
Thereby decoupling the resulting translated code from the current state of the system. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
671f9a85d8
commit
87d757d60d
|
@ -2437,7 +2437,7 @@ static void gen_ldstub_asi(DisasContext *dc, TCGv dst, TCGv addr, int insn)
|
||||||
default:
|
default:
|
||||||
/* ??? In theory, this should be raise DAE_invalid_asi.
|
/* ??? In theory, this should be raise DAE_invalid_asi.
|
||||||
But the SS-20 roms do ldstuba [%l0] #ASI_M_CTL, %o1. */
|
But the SS-20 roms do ldstuba [%l0] #ASI_M_CTL, %o1. */
|
||||||
if (parallel_cpus) {
|
if (tb_cflags(dc->tb) & CF_PARALLEL) {
|
||||||
gen_helper_exit_atomic(cpu_env);
|
gen_helper_exit_atomic(cpu_env);
|
||||||
} else {
|
} else {
|
||||||
TCGv_i32 r_asi = tcg_const_i32(da.asi);
|
TCGv_i32 r_asi = tcg_const_i32(da.asi);
|
||||||
|
|
Loading…
Reference in New Issue