OSDN Git Service

target/arm: Require alignment for load exclusive
authorAlistair Francis <alistair.francis@xilinx.com>
Tue, 15 Aug 2017 14:57:14 +0000 (07:57 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Aug 2017 16:38:44 +0000 (17:38 +0100)
commit4a2fdb78e794c1ad93aa9e160235d6a61a2125de
tree382eaaa32defefe5fb8dd7d9f3476b95b6837419
parent19514cde3b92938df750acaecf2caaa85e1d36a6
target/arm: Require alignment for load exclusive

According to the ARM ARM exclusive loads require the same alignment as
exclusive stores. Let's update the memops used for the load to match
that of the store. This adds the alignment requirement to the memops.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20170815145714.17635-4-richard.henderson@linaro.org
[rth: Require 16-byte alignment for 64-bit LDXP.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c