OSDN Git Service

target/arm: Use _ra versions of cpu_stl_data() in v7M helpers
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 4 Jul 2019 16:14:44 +0000 (17:14 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 4 Jul 2019 16:25:30 +0000 (17:25 +0100)
commit2884fbb60412049ec92389039ae716b32057382e
treebc0efcfaf8d2b650cf616a089b53b53a152a483d
parentbe32116e32c3fd51c0d91fd658d534424434e659
target/arm: Use _ra versions of cpu_stl_data() in v7M helpers

In the various helper functions for v7M/v8M instructions, use
the _ra versions of cpu_stl_data() and friends. Otherwise we
may get wrong behaviour or an assert() due to not being able
to locate the TB if there is an exception on the memory access
or if it performs an IO operation when in icount mode.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190617175317.27557-5-peter.maydell@linaro.org
target/arm/m_helper.c