[pypy-commit] pypy ppc-jit-backend: use less distinctions of cases to get CPU class
hager
noreply at buildbot.pypy.org
Thu Mar 8 11:49:19 CET 2012
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r53270:bf8ad803c74a
Date: 2012-03-08 11:48 +0100
http://bitbucket.org/pypy/pypy/changeset/bf8ad803c74a/
Log: use less distinctions of cases to get CPU class
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
@@ -78,9 +78,7 @@
return "pypy.jit.backend.llvm.runner", "LLVMCPU"
elif backend_name == 'arm':
return "pypy.jit.backend.arm.runner", "ArmCPU"
- elif backend_name == 'ppc_64':
- return "pypy.jit.backend.ppc.runner", "PPC_CPU"
- elif backend_name == 'ppc64_64':
+ elif backend_name.startswith("ppc"):
return "pypy.jit.backend.ppc.runner", "PPC_CPU"
else:
raise ProcessorAutodetectError, (
More information about the pypy-commit
mailing list