Re: [Qemu-devel] [PATCH] target-arm: Fix GE bits for v6media signed modulo arithmetic

2011-03-22 Thread Aurelien Jarno
On Thu, Mar 10, 2011 at 06:51:49PM +, Peter Maydell wrote: > Fix the signed modulo arithmetic helpers for the v6media > instructions (SADD8, SSUB8, SADD16, SSUB16, SASX, SSAX) to set > the GE bits correctly (based on the result of the add or subtract > before it is truncated to 16 bits, not aft

[Qemu-devel] [PATCH] target-arm: Fix GE bits for v6media signed modulo arithmetic

2011-03-10 Thread Peter Maydell
Fix the signed modulo arithmetic helpers for the v6media instructions (SADD8, SSUB8, SADD16, SSUB16, SASX, SSAX) to set the GE bits correctly (based on the result of the add or subtract before it is truncated to 16 bits, not after). Signed-off-by: Peter Maydell --- target-arm/helper.c |4 ++-