[pypy-commit] pypy ppc-jit-backend: Added some comparison conditions.

hager noreply at buildbot.pypy.org
Mon Oct 10 18:52:42 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r47925:6bcddb937964
Date: 2011-10-10 18:51 +0200
http://bitbucket.org/pypy/pypy/changeset/6bcddb937964/

Log:	Added some comparison conditions.

diff --git a/pypy/jit/backend/ppc/ppcgen/condition.py b/pypy/jit/backend/ppc/ppcgen/condition.py
--- a/pypy/jit/backend/ppc/ppcgen/condition.py
+++ b/pypy/jit/backend/ppc/ppcgen/condition.py
@@ -1,1 +1,8 @@
 LE = 0
+NE = 4
+GT = 2
+LT = 3
+EQ = 12
+GE = 33
+
+opposites = {LE: GT, NE: EQ, LT: GE, GE: LT, EQ: NE, GT: LE}


More information about the pypy-commit mailing list