target/arm: Do not reject rt == rt2 for strexd
commit655b02646dc175dc10666459b0a1e4346fc8d46a
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 19 Nov 2019 13:20:28 +0000 (19 13:20 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Nov 2019 13:20:28 +0000 (19 13:20 +0000)
treeeacbc2b33d8153c461bddf9463eec1f0c2c3cec7
parent6623d214451ec4f784d1c82c51c655a01fed1b06
target/arm: Do not reject rt == rt2 for strexd

There was too much cut and paste between ldrexd and strexd,
as ldrexd does prohibit two output registers the same.

Fixes: af288228995
Reported-by: Michael Goffioul <michael.goffioul@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191117090621.32425-2-richard.henderson@linaro.org
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c