diff options
author | Richard Henderson <rth@twiddle.net> | 2010-04-07 10:17:24 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-27 05:50:41 +0200 |
commit | 593f17e5f2125a7186a4a1917cb8603ffb636d48 (patch) | |
tree | ea445cfc6feee3d4e107b37e8d6b6f271e72fa61 /target-alpha/op_helper.c | |
parent | ac316ca4b7b27c853c0d9d6b43abdbefc97297d6 (diff) |
target-alpha: Implement cvtlq inline.
It's a simple shift and mask sequence.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha/op_helper.c')
-rw-r--r-- | target-alpha/op_helper.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index f9cd07a6ee..a20913033d 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -1152,13 +1152,6 @@ uint64_t helper_cvtqg (uint64_t a) return float64_to_g(fr); } -uint64_t helper_cvtlq (uint64_t a) -{ - int32_t lo = a >> 29; - int32_t hi = a >> 32; - return (lo & 0x3FFFFFFF) | (hi & 0xc0000000); -} - /* PALcode support special instructions */ #if !defined (CONFIG_USER_ONLY) void helper_hw_rei (void) |