I found some issues with the way exclusive store was working. This patch series seems to fix the test cases that were failing for me and also seem to follow what the ARM ARM says.
The first patch is just a simple adjustment. The second patch is just preparing for the third patch. The third patch is where the big change is. It includes details of the limited testing that I have done. Alistair Francis (3): target/arm: Update the memops for exclusive load tcg/tcg-op: Expose the tcg_gen_ext_i* functions target/arm: Correct exclusive store return value target/arm/translate-a64.c | 24 +++++++++++++----------- tcg/tcg-op.c | 4 ++-- tcg/tcg-op.h | 2 ++ 3 files changed, 17 insertions(+), 13 deletions(-) -- 2.11.0