diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-18 17:40:41 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-24 13:33:29 +0100 |
commit | 36c91fd115a5920a35d4cb0e7a1903281469e0db (patch) | |
tree | c1aa6a8733cdc9bb065aaead04d5f6044e25ee21 /target-arm/helper.c | |
parent | ee6fa5593ebfc437cbedaf28de8b66b2e7d44e70 (diff) | |
download | qemu-36c91fd115a5920a35d4cb0e7a1903281469e0db.zip qemu-36c91fd115a5920a35d4cb0e7a1903281469e0db.tar.gz qemu-36c91fd115a5920a35d4cb0e7a1903281469e0db.tar.bz2 |
target-arm: Implement abs_i32 inline rather than as a helper
Implement abs_i32 inline (with movcond) rather than using a helper
function.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r-- | target-arm/helper.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 8f2cba6..ab8b734 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -1562,11 +1562,6 @@ uint32_t HELPER(rbit)(uint32_t x) return x; } -uint32_t HELPER(abs)(uint32_t x) -{ - return ((int32_t)x < 0) ? -x : x; -} - #if defined(CONFIG_USER_ONLY) void do_interrupt (CPUARMState *env) |