[pypy-svn] r53272 - in pypy/branch/jit-hotpath/pypy/jit/codegen/ia32: . test

fijal at codespeak.net fijal at codespeak.net
Thu Apr 3 07:50:07 CEST 2008


Author: fijal
Date: Thu Apr  3 07:50:06 2008
New Revision: 53272

Modified:
   pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
   pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py
Log:
* put a clear error marker
* easy test :)


Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	Thu Apr  3 07:50:06 2008
@@ -72,6 +72,7 @@
         return builder.stack_access64(self.stackpos)
 
     def newvar(self, builder):
+        raise NotImplementedError("This requires moving around float mem")
         return builder.returnfloatvar(self.operand(builder))
 
     ll_type = lltype.Float
@@ -558,6 +559,9 @@
     def genop_debug_pdb(self):    # may take an args_gv later
         self.mc.BREAKPOINT()
 
+    def genop_cast_int_to_ptr(self, kind, gv_int):
+        return gv_int     # identity
+
     def enter_next_block(self, args_gv):
         self._open()
         arg_positions = []

Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/test/test_rgenop.py	Thu Apr  3 07:50:06 2008
@@ -30,7 +30,7 @@
     test_ovfcheck2_direct = skipped
 
     # casts
-    test_cast_direct = skipped
+    #test_cast_direct = skipped
 
     # lltype.Address in function arguments
     test_demo_f1_direct = skipped



More information about the Pypy-commit mailing list