[pypy-commit] pypy ppc-backend-2: Include UNORDERED test for FLOAT_NE.

edelsohn noreply at buildbot.pypy.org
Thu Jun 7 16:28:31 CEST 2012


Author: edelsohn
Branch: ppc-backend-2
Changeset: r55466:7cd4b450ce72
Date: 2012-06-07 10:28 -0400
http://bitbucket.org/pypy/pypy/changeset/7cd4b450ce72/

Log:	Include UNORDERED test for FLOAT_NE.

diff --git a/pypy/jit/backend/ppc/helper/assembler.py b/pypy/jit/backend/ppc/helper/assembler.py
--- a/pypy/jit/backend/ppc/helper/assembler.py
+++ b/pypy/jit/backend/ppc/helper/assembler.py
@@ -29,6 +29,8 @@
             self.mc.cror(0, 1, 1)
         elif condition == c.NE:
             self.mc.cror(0, 0, 1)
+            if fp:
+                self.mc.cror(0, 0, 3)
         else:
             assert 0, "condition not known"
 


More information about the pypy-commit mailing list