Permalink
Browse files

Use negation of EQ bit instead of UNORDERED for FLOAT_NE and INT_NE.

--HG--
branch : ppc-backend-2
  • Loading branch information...
1 parent a79d213 commit 47addc28f956a1246562b221fabb847f60c8d821 edelsohn committed Jun 7, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 pypy/jit/backend/ppc/helper/assembler.py
@@ -28,9 +28,7 @@ def f(self, op, arglocs, regalloc):
elif condition == c.GT or condition == c.U_GT:
self.mc.cror(0, 1, 1)
elif condition == c.NE:
- self.mc.cror(0, 0, 1)
- if fp:
- self.mc.cror(0, 0, 3)
+ self.mc.crnor(0, 2, 2)
else:
assert 0, "condition not known"

0 comments on commit 47addc2

Please sign in to comment.