commit | db6e2e65adddfcdc3f81026df7fd490e13813e8a | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Mar 10 18:51:49 2011 +0000 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Tue Mar 22 07:52:36 2011 +0100 |
tree | c3dea200c8c775ed04a122183450909a6c62cc46 | |
parent | 2a0308c54f8afb606d4185d59d502823be3c307b [diff] |
target-arm: Fix GE bits for v6media signed modulo arithmetic 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 <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>