[pypy-commit] pypy ppc-jit-backend: PPC64 support for _save_managed_regs

edelsohn noreply at buildbot.pypy.org
Tue Nov 8 15:35:28 CET 2011


Author: edelsohn
Branch: ppc-jit-backend
Changeset: r48937:2634db7ce5b0
Date: 2011-11-08 09:35 -0500
http://bitbucket.org/pypy/pypy/changeset/2634db7ce5b0/

Log:	PPC64 support for _save_managed_regs

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -338,7 +338,7 @@
             if IS_PPC_32:
                 mc.stw(reg.value, r.SP.value, -(len(r.MANAGED_REGS) - i) * WORD)
             else:
-                assert 0, "not implemented yet"
+                mc.std(reg.value, r.SP.value, -(len(r.MANAGED_REGS) - i) * WORD)
 
     def gen_bootstrap_code(self, nonfloatlocs, inputargs):
         for i in range(len(nonfloatlocs)):


More information about the pypy-commit mailing list