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. r~