Re: [Qemu-devel] [PATCH] target-arm: Set Q bit for overflow in SMUAD and SMLAD

2011-03-22 Thread Aurelien Jarno
On Fri, Mar 11, 2011 at 10:09:58AM +, Peter Maydell wrote: > 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 accu

[Qemu-devel] [PATCH] target-arm: Set Q bit for overflow in SMUAD and SMLAD

2011-03-11 Thread Peter Maydell
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 mis