diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-08-28 18:32:58 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-09-03 16:20:34 +0100 |
commit | e0a0c8322b8ebcdad674f443a3e86db8708d6738 (patch) | |
tree | 5c5a2d7661ed25b49d5aa1c12bff3b2936217e08 /hw/watchdog | |
parent | 3499ec086a30508383cdcb3cabdaa90356712dd3 (diff) | |
download | qemu-e0a0c8322b8ebcdad674f443a3e86db8708d6738.zip qemu-e0a0c8322b8ebcdad674f443a3e86db8708d6738.tar.gz qemu-e0a0c8322b8ebcdad674f443a3e86db8708d6738.tar.bz2 |
target/arm: Fix SMMLS argument order
The previous simplification got the order of operands to the
subtraction wrong. Since the 64-bit product is the subtrahend,
we must use a 64-bit subtract to properly compute the borrow
from the low-part of the product.
Fixes: 5f8cd06ebcf5 ("target/arm: Simplify SMMLA, SMMLAR, SMMLS, SMMLSR")
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20190829013258.16102-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/watchdog')
0 files changed, 0 insertions, 0 deletions