[pypy-commit] pypy ppc-backend-2: Push and Pop floats.

edelsohn noreply at buildbot.pypy.org
Fri Jun 8 21:13:24 CEST 2012


Author: edelsohn
Branch: ppc-backend-2
Changeset: r55528:b63b8f61eaec
Date: 2012-06-08 15:12 -0400
http://bitbucket.org/pypy/pypy/changeset/b63b8f61eaec/

Log:	Push and Pop floats.

diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppc_assembler.py
@@ -1250,8 +1250,6 @@
         loc"""
 
         if loc.is_stack():
-            if loc.type == FLOAT:
-                assert 0, "not implemented yet"
             # XXX this code has to be verified
             assert not self.stack_in_use
             target = StackLocation(self.ENCODING_AREA // WORD) # write to ENCODING AREA           
@@ -1272,8 +1270,6 @@
         """Pops the value on top of the stack to loc. Can trash the current
         value of SCRATCH when popping to a stack loc"""
         if loc.is_stack():
-            if loc.type == FLOAT:
-                assert 0, "not implemented yet"
             # XXX this code has to be verified
             assert self.stack_in_use
             from_loc = StackLocation(self.ENCODING_AREA // WORD) # read from ENCODING AREA


More information about the pypy-commit mailing list