[pypy-commit] pypy ppc-jit-backend: kill some already supposed to be dead people

fijal noreply at buildbot.pypy.org
Fri Jan 27 22:20:12 CET 2012


Author: fijal
Branch: ppc-jit-backend
Changeset: r51892:086f6c58e2e9
Date: 2012-01-27 13:17 -0800
http://bitbucket.org/pypy/pypy/changeset/086f6c58e2e9/

Log:	kill some already supposed to be dead people

diff --git a/pypy/jit/backend/detect_cpu.py b/pypy/jit/backend/detect_cpu.py
--- a/pypy/jit/backend/detect_cpu.py
+++ b/pypy/jit/backend/detect_cpu.py
@@ -32,6 +32,7 @@
                 'x86':   'x86',    # Apple
                 'Power Macintosh': 'ppc',
                 'ppc64': 'ppc64',
+                'ppc64_64': 'ppc64',
                 'x86_64': 'x86',
                 'amd64': 'x86',    # freebsd
                 'AMD64': 'x86',    # win64
@@ -79,6 +80,8 @@
         return "pypy.jit.backend.arm.runner", "ArmCPU"
     elif backend_name == 'ppc64':
         return "pypy.jit.backend.ppc.runner", "PPC_64_CPU"
+    elif backend_name == 'ppc64_64':
+        return "pypy.jit.backend.ppc.runner", "PPC_64_CPU"
     else:
         raise ProcessorAutodetectError, (
             "we have no JIT backend for this cpu: '%s'" % backend_name)
diff --git a/pypy/jit/backend/ppc/ppcgen/form.py b/pypy/jit/backend/ppc/ppcgen/form.py
--- a/pypy/jit/backend/ppc/ppcgen/form.py
+++ b/pypy/jit/backend/ppc/ppcgen/form.py
@@ -84,7 +84,7 @@
         self.defaults = self.defaults + ((self.fieldmap[f], v),)
         return self
 
-    def __call__(self, **more_specializatons):
+    def call(self, **more_specializatons):
         s = self.specializations.copy()
         ms = {}
         ds = {}
diff --git a/pypy/jit/backend/ppc/test/test_genc_ts.py b/pypy/jit/backend/ppc/test/test_genc_ts.py
deleted file mode 100644
--- a/pypy/jit/backend/ppc/test/test_genc_ts.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import py
-from pypy.jit.codegen.i386.test.test_genc_ts import I386TimeshiftingTestMixin
-from pypy.jit.timeshifter.test import test_timeshift
-from pypy.jit.codegen.ppc.rgenop import RPPCGenOp
-
-class PPCTimeshiftingTestMixin(I386TimeshiftingTestMixin):
-    RGenOp = RPPCGenOp
-
-class TestTimeshiftPPC(PPCTimeshiftingTestMixin,
-                        test_timeshift.TestLLType):
-
-    # for the individual tests see
-    # ====> ../../../timeshifter/test/test_timeshift.py
-
-    pass
-


More information about the pypy-commit mailing list