diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-03-11 10:09:58 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-22 07:56:08 +0100 |
commit | e1d177b922f52569e900e96d611caa09655bdec9 (patch) | |
tree | cc59ba99ea1a52d258c442da47aaa646d8fef3e5 /range.h | |
parent | db6e2e65adddfcdc3f81026df7fd490e13813e8a (diff) |
target-arm: Set Q bit for overflow in SMUAD and SMLAD
SMUAD and SMLAD are supposed to set the Q bit if the addition of
the two 16x16 multiply products and optional accumulator overflows
considered as a signed value. However we were only doing this check
for the addition of the accumulator, not when adding the products,
with the effect that we were mishandling the edge case where
both inputs are 0x80008000.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'range.h')
0 files changed, 0 insertions, 0 deletions