[pypy-commit] pypy ppc-jit-backend: bootstrapped branch for powerpc JIT backend, made first test run

hager noreply at buildbot.pypy.org
Mon Jul 18 17:37:43 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r45712:65df23bd8e99
Date: 2011-07-12 17:40 +0200
http://bitbucket.org/pypy/pypy/changeset/65df23bd8e99/

Log:	bootstrapped branch for powerpc JIT backend, made first test run

diff --git a/pypy/jit/backend/arm/tool/objdump.py b/pypy/jit/backend/arm/tool/objdump.py
--- a/pypy/jit/backend/arm/tool/objdump.py
+++ b/pypy/jit/backend/arm/tool/objdump.py
@@ -7,7 +7,7 @@
 import os, sys, py
 
 def objdump(input):
-    os.system('objdump -D --architecture=arm --target=binary %s' % input)
+    os.system('objdump -D --architecture=powerpc:common64 --target=binary %s' % input)
 
 
 def get_tmp_file():
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
@@ -31,6 +31,7 @@
                 'i86pc': 'x86',    # Solaris/Intel
                 'x86':   'x86',    # Apple
                 'Power Macintosh': 'ppc',
+                'ppc64': 'ppc64',
                 'x86_64': 'x86',
                 'amd64': 'x86',    # freebsd
                 'AMD64': 'x86',    # win64
@@ -76,6 +77,8 @@
         return "pypy.jit.backend.llvm.runner", "LLVMCPU"
     elif backend_name == 'arm':
         return "pypy.jit.backend.arm.runner", "ArmCPU"
+    elif backend_name == 'ppc64':
+        return "pypy.jit.backend.ppc.runner", "PPC_64_CPU"
     else:
         raise ProcessorAutodetectError, (
             "we have no JIT backend for this cpu: '%s'" % backend_name)


More information about the pypy-commit mailing list