target-arm/translate-a64.c: Correct unallocated checks for ldst_excl
commite14f0eb12f920fd96b9f79d15cedd437648e8667
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 24 Nov 2015 14:12:15 +0000 (24 14:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 24 Nov 2015 14:12:15 +0000 (24 14:12 +0000)
treeb21a11aa3359041b2a637ac8bc709ea1b7970bff
parent6109769a8b42bd0c3d5b1601c9b35fe7ea6a603e
target-arm/translate-a64.c: Correct unallocated checks for ldst_excl

The checks for the unallocated encodings in the ldst_excl group
(exclusives and load-acquire/store-release) were not correct. This
error meant that in turn we ended up with code attempting to handle
the non-existent case of "non-exclusive load-acquire/store-release
pair". Delete that broken and now unreachable code.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
target-arm/translate-a64.c