[pypy-commit] pypy ppc-backend-2: Do not save and restore f0 around remap_frame_layout.

edelsohn noreply at buildbot.pypy.org
Wed Jun 6 03:03:58 CEST 2012


Author: edelsohn
Branch: ppc-backend-2
Changeset: r55422:fb8ba462c17d
Date: 2012-06-05 21:03 -0400
http://bitbucket.org/pypy/pypy/changeset/fb8ba462c17d/

Log:	Do not save and restore f0 around remap_frame_layout.

diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassembler.py
--- a/pypy/jit/backend/ppc/opassembler.py
+++ b/pypy/jit/backend/ppc/opassembler.py
@@ -531,9 +531,7 @@
             adr = r.r11
 
         # remap values stored in core registers
-        self.mc.stfd(r.f0.value, r.SPP.value, FORCE_INDEX_OFS + WORD)
         remap_frame_layout(self, float_locs, float_regs, r.f0)
-        self.mc.lfd(r.f0.value, r.SPP.value, FORCE_INDEX_OFS + WORD)
         remap_frame_layout(self, non_float_locs, non_float_regs, r.SCRATCH)
 
         # the actual call


More information about the pypy-commit mailing list