diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-10-15 16:45:14 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-10-27 09:46:27 +0100 |
commit | f669df275ca837fda5f73fdfb01985e3207aa6d7 (patch) | |
tree | a22c2e45b66a2ea97439784b031aafa2e6f5e254 /target-arm/op_helper.c | |
parent | 50f67e95e2de0ce145f76ccc480057c9c683a0c7 (diff) |
target-arm: use native tcg-ops for ror/bic/vorn
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r-- | target-arm/op_helper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index 5ac631df0e..9b1a0143d2 100644 --- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -379,14 +379,6 @@ uint32_t HELPER(sar)(uint32_t x, uint32_t i) return (int32_t)x >> shift; } -uint32_t HELPER(ror)(uint32_t x, uint32_t i) -{ - int shift = i & 0xff; - if (shift == 0) - return x; - return (x >> shift) | (x << (32 - shift)); -} - uint32_t HELPER(shl_cc)(uint32_t x, uint32_t i) { int shift = i & 0xff; |