[pypy-commit] pypy arm-backend-2: remove longlong special case for ARM hardfloat

bivab noreply at buildbot.pypy.org
Thu Aug 30 15:32:59 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56935:9853280b31ac
Date: 2012-08-30 13:32 +0000
http://bitbucket.org/pypy/pypy/changeset/9853280b31ac/

Log:	remove longlong special case for ARM hardfloat

diff --git a/pypy/jit/codewriter/longlong.py b/pypy/jit/codewriter/longlong.py
--- a/pypy/jit/codewriter/longlong.py
+++ b/pypy/jit/codewriter/longlong.py
@@ -9,7 +9,6 @@
 import sys
 from pypy.rpython.lltypesystem import lltype, rffi
 from pypy.rlib import rarithmetic, longlong2float
-from pypy.jit.backend.arm.detect import detect_hardfloat
 from pypy.rlib.objectmodel import compute_hash
 
 
@@ -29,22 +28,6 @@
     is_longlong     = lambda TYPE: False
 
     # -------------------------------------
-elif detect_hardfloat():
-    # ---------- ARM 32-bit platform ----------
-    # the type FloatStorage is float
-
-    is_64_bit = False
-    supports_longlong = False
-    r_float_storage = float
-    FLOATSTORAGE = lltype.Float
-
-    getfloatstorage = lambda x: x
-    getrealfloat    = lambda x: x
-    gethash         = compute_hash
-    is_longlong     = lambda TYPE: False
-
-    # -------------------------------------
-
 else:
     # ---------- 32-bit platform ----------
     # the type FloatStorage is r_longlong, and conversion is needed


More information about the pypy-commit mailing list