Author: hager <[email protected]>
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, (
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit