target-arm: Fix mixup in decoding of saturating add and sub
authorJohan Bengtsson <teofrastius@gmail.com>
Tue, 7 Dec 2010 12:01:44 +0000 (12:01 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Dec 2010 12:01:44 +0000 (12:01 +0000)
commit4aeb121cd5887d5674c8a9d09a1809096bce442f
tree2143b31eac7cdd8648a41c8cff4f74ddf048ff24
parentf1f4480bccfd133e06ac14a386badd889b3edb87
target-arm: Fix mixup in decoding of saturating add and sub

The thumb2 decoder contained a mixup between the bit controlling
doubling and the bit controlling if the operation was an add or a sub.

Signed-off-by: Johan Bengtsson <teofrastius@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
target-arm/translate.c