Skip to content

Commit

Permalink
Use negation of EQ bit instead of UNORDERED for FLOAT_NE and INT_NE.
Browse files Browse the repository at this point in the history
--HG--
branch : ppc-backend-2
  • Loading branch information
edelsohn committed Jun 7, 2012
1 parent a79d213 commit 47addc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pypy/jit/backend/ppc/helper/assembler.py
Expand Up @@ -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"

Expand Down

0 comments on commit 47addc2

Please sign in to comment.