[pypy-svn] r75461 - pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86
jcreigh at codespeak.net
jcreigh at codespeak.net
Fri Jun 18 23:09:05 CEST 2010
Author: jcreigh
Date: Fri Jun 18 23:09:03 2010
New Revision: 75461
Modified:
pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/assembler.py
Log:
fix use of FSTP
Modified: pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/assembler.py (original)
+++ pypy/branch/x86-64-jit-backend/pypy/jit/backend/x86/assembler.py Fri Jun 18 23:09:03 2010
@@ -1563,7 +1563,7 @@
self._emit_call(rel32(self.assembler_helper_adr), [eax, arglocs[1]], 0,
tmp=ecx, force_mc=True, mc=mc)
if IS_X86_32 and isinstance(result_loc, StackLoc) and result_loc.type == FLOAT:
- mc.FSTP(result_loc)
+ mc.FSTP_b(result_loc.value)
#else: result_loc is already either eax or None, checked below
mc.JMP_l8(0) # jump to done, patched later
jmp_location = mc.get_relative_pos()
More information about the Pypy-commit
mailing list