Commits

Sven Hager committed bf8ad80

use less distinctions of cases to get CPU class

Comments (0)

Files changed (1)

pypy/jit/backend/detect_cpu.py

         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, (