Author: edelsohn
Branch: ppc-jit-backend
Changeset: r56846:7fb18930ab00
Date: 2012-08-24 20:58 -0400
http://bitbucket.org/pypy/pypy/changeset/7fb18930ab00/

Log:    On PPC, int_mul can have immediate argument, int_floordiv cannot.

diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py
--- a/pypy/jit/backend/ppc/regalloc.py
+++ b/pypy/jit/backend/ppc/regalloc.py
@@ -409,9 +409,9 @@
 
     prepare_int_add = prepare_binary_int_op_with_imm()
     prepare_int_sub = prepare_binary_int_op_with_imm()
-    prepare_int_floordiv = prepare_binary_int_op_with_imm()
+    prepare_int_mul = prepare_binary_int_op_with_imm()
 
-    prepare_int_mul = prepare_binary_int_op()
+    prepare_int_floordiv = prepare_binary_int_op()
     prepare_int_mod = prepare_binary_int_op()
     prepare_int_and = prepare_binary_int_op()
     prepare_int_or = prepare_binary_int_op()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to