Author: Richard Plangger <[email protected]>
Branch: s390x-backend
Changeset: r80761:f019dc0cb830
Date: 2015-11-18 17:31 +0100
http://bitbucket.org/pypy/pypy/changeset/f019dc0cb830/
Log: forgot to unpack arglocs (missing ,)
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
@@ -114,12 +114,12 @@
#self.mc.AGR(lr, l1)
def emit_int_invert(self, op, arglocs, regalloc):
- l0 = arglocs
+ l0, = arglocs
assert not l0.is_imm()
self.mc.XG(l0, l.pool(self.pool.constant_64_ones))
def emit_int_neg(self, op, arglocs, regalloc):
- l0 = arglocs
+ l0, = arglocs
self.mc.LCGR(l0, l0)
def emit_int_signext(self, op, arglocs, regalloc):
diff --git a/rpython/jit/backend/zarch/regalloc.py
b/rpython/jit/backend/zarch/regalloc.py
--- a/rpython/jit/backend/zarch/regalloc.py
+++ b/rpython/jit/backend/zarch/regalloc.py
@@ -825,8 +825,8 @@
for m in missing:
print(" " * 4 + m)
print
- print("regalloc implements %.2f%% of all resops" % \
- (100.0 * implemented_count / total_count))
+ print("regalloc implements %d of %d = %.2f%% of all resops" % \
+ (implemented_count, total_count, (100.0 * implemented_count /
total_count)))
del implemented_count
del total_count
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit