target/arm: Emit barriers for A32/T32 load-acquire/store-release insns
commit96c552958dbb63453b5f02bea6e704006d50e39a
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2019 15:23:48 +0000 (7 15:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2019 15:23:48 +0000 (7 15:23 +0000)
treef693d62ed378540aeffc8a9b8e455c7d9b0d0f35
parentb39dced66ac2612e89c9c822b6cb7b63c0de7f43
target/arm: Emit barriers for A32/T32 load-acquire/store-release insns

Now that MTTCG is here, the comment in the 32-bit Arm decoder that
"Since the emulation does not have barriers, the acquire/release
semantics need no special handling" is no longer true. Emit the
correct barriers for the load-acquire/store-release insns, as
we already do in the A64 decoder.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
target/arm/translate.c