Author: Richard Plangger <planri...@gmail.com>
Branch: s390x-backend
Changeset: r81578:fec1779a7628
Date: 2016-01-05 13:50 +0100
http://bitbucket.org/pypy/pypy/changeset/fec1779a7628/

Log:    int_lshift is a logical one, but up to now emitted an arithmetic
        shift, this makes the test_basic of the s390x fully passing!

diff --git a/rpython/jit/backend/zarch/opassembler.py 
b/rpython/jit/backend/zarch/opassembler.py
--- a/rpython/jit/backend/zarch/opassembler.py
+++ b/rpython/jit/backend/zarch/opassembler.py
@@ -152,7 +152,7 @@
     emit_int_xor = gen_emit_rr_or_rpool("XGR", "XG")
 
     emit_int_rshift  = gen_emit_shift("SRAG")
-    emit_int_lshift  = gen_emit_shift("SLAG")
+    emit_int_lshift  = gen_emit_shift("SLLG")
     emit_uint_rshift = gen_emit_shift("SRLG")
 
     emit_int_le = gen_emit_cmp_op(c.LE)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to