[pypy-svn] r70197 - in pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86: . test

arigo at codespeak.net arigo at codespeak.net
Fri Dec 18 15:44:40 CET 2009


Author: arigo
Date: Fri Dec 18 15:44:40 2009
New Revision: 70197

Modified:
   pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/rx86.py
   pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/test/test_rx86_64_auto_encoding.py
Log:
This is probably definitely unsupported, not just
"unsupported yet".


Modified: pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/rx86.py
==============================================================================
--- pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/rx86.py	(original)
+++ pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/rx86.py	Fri Dec 18 15:44:40 2009
@@ -366,11 +366,11 @@
         else:
             AbstractX86CodeBuilder.MOV_ri(self, reg, immed)
 
-    # unsupported yet
+    # unsupported -- must use e.g. MOV tmpreg, immed64; MOV reg, [tmpreg]
     def MOV_rj(self, reg, mem_immed):
-        py.test.skip("MOV_rj unsupported yet")
+        py.test.skip("MOV_rj unsupported")
     def MOV_jr(self, mem_immed, reg):
-        py.test.skip("MOV_jr unsupported yet")
+        py.test.skip("MOV_jr unsupported")
 
 # ____________________________________________________________
 

Modified: pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/test/test_rx86_64_auto_encoding.py
==============================================================================
--- pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/test/test_rx86_64_auto_encoding.py	(original)
+++ pypy/branch/remove-ri386-multimethod/pypy/jit/backend/x86/test/test_rx86_64_auto_encoding.py	Fri Dec 18 15:44:40 2009
@@ -29,9 +29,8 @@
                  (random.randrange(0,65536)<<16) |
                  (random.randrange(0,65536)<<0))
             v.append(x)
-        return v + self._old_imm32_tests()
+        return v + super(TestRx86_64, self).imm32_tests()
 
     def test_extra_MOV_ri64(self):
-        self._old_imm32_tests = self.imm32_tests
         self.imm32_tests = self.imm64_tests      # patch on 'self'
         self.complete_test('MOV_ri')



More information about the Pypy-commit mailing list