diff options
| author | Emilio G. Cota | 2017-07-15 00:47:23 +0200 |
|---|---|---|
| committer | Richard Henderson | 2017-10-24 22:53:42 +0200 |
| commit | 87d757d60d66d5ee1608460b0f1e07e2b758db9c (patch) | |
| tree | 0e3deb865414bf16df59bdd140ed5de3774ba5ca /target | |
| parent | target/sh4: check CF_PARALLEL instead of parallel_cpus (diff) | |
| download | qemu-87d757d60d66d5ee1608460b0f1e07e2b758db9c.tar.gz qemu-87d757d60d66d5ee1608460b0f1e07e2b758db9c.tar.xz qemu-87d757d60d66d5ee1608460b0f1e07e2b758db9c.zip | |
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>
Diffstat (limited to 'target')
| -rw-r--r-- | target/sparc/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/translate.c b/target/sparc/translate.c index f2b5cdbf34..9dc41869a4 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -2437,7 +2437,7 @@ static void gen_ldstub_asi(DisasContext *dc, TCGv dst, TCGv addr, int insn) default: /* ??? In theory, this should be raise DAE_invalid_asi. 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); } else { TCGv_i32 r_asi = tcg_const_i32(da.asi); |
