OSDN Git Service

cpu-exec: lookup/generate TB outside exclusive region during step_atomic
authorEmilio G. Cota <cota@braap.org>
Fri, 14 Jul 2017 21:56:30 +0000 (17:56 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Oct 2017 20:53:42 +0000 (13:53 -0700)
commitac03ee5331612e44beb393df2b578c951d27dc0d
tree6164d1ecfb7d0451dcce30bc0aeb6c822c735464
parente82d5a2460b0e176128027651ff9b104e4bdf5cc
cpu-exec: lookup/generate TB outside exclusive region during step_atomic

Now that all code generation has been converted to check CF_PARALLEL, we can
generate !CF_PARALLEL code without having yet set !parallel_cpus --
and therefore without having to be in the exclusive region during
cpu_exec_step_atomic.

While at it, merge cpu_exec_step into cpu_exec_step_atomic.

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>
accel/tcg/cpu-exec.c