Author: Richard Plangger <[email protected]>
Branch: s390x-backend
Changeset: r82036:72e40b33ebc5
Date: 2016-02-01 17:43 +0100
http://bitbucket.org/pypy/pypy/changeset/72e40b33ebc5/
Log: for test case zrpy_gc_direct seems that it can prove that float
storage is always 0, thus it will not compile for those two
diff --git a/rpython/jit/backend/zarch/pool.py
b/rpython/jit/backend/zarch/pool.py
--- a/rpython/jit/backend/zarch/pool.py
+++ b/rpython/jit/backend/zarch/pool.py
@@ -104,6 +104,8 @@
def unique_value(self, val):
if val.type == FLOAT:
+ if val.getfloat() == 0.0:
+ return 0
return float2longlong(val.getfloat())
elif val.type == INT:
return rffi.cast(lltype.Signed, val.getint())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit