On 3 May 2018 at 18:39, Richard Henderson <richard.hender...@linaro.org> wrote: > On 05/03/2018 10:26 AM, Peter Maydell wrote: >>> It won't be compiled for the 32-bit host. Translation will not attempt to >>> use >>> this helper and will instead call exit_atomic. >> >> OK. Can you point me at the code that handles min/max atomics in that case? > > exit_atomic raises EXP_ATOMIC, which leads to cpu_exec_step_atomic, which > grabs > the exclusive lock and then executes the operation in a serial context. This > is expanded inline via do_nonatomic_op_i64.
Ah, gotcha -- hidden behind a lot of macros. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> -- PMM