------- Comment From <email address hidden> 2021-08-11 06:59 EDT------- zlib1g_1.2.11.dfsg-2ubuntu7~ppa2_s390x.deb works fine, thanks!
# time -p env DFLTCC=0 python3 -c 'import gzip; gzip.decompress(gzip.compress(b"\x00" * 500000000, 1))' real 2.59 user 2.23 sys 0.35
# dpkg -i zlib1g_1.2.11.dfsg-2ubuntu7~ppa2_s390x.deb
# time -p env DFLTCC=0 python3 -c 'import gzip; gzip.decompress(gzip.compress(b"\x00" * 500000000, 1))' real 1.99 user 1.62 sys 0.36
However, I'm not quite sure why does
++#ifdef S390_CRC32_VX ++ if (getauxval(AT_HWCAP) & HWCAP_S390_VX) ++ return s390_crc32_vx; ++#endif
work. For me getauxval() causes a segfault when called from an ifunc, that's why I have to use the s390-specific ifunc's hwcap parameter.
------- Comment From <email address hidden> 2021-08-11 06:59 EDT------- 1.2.11. dfsg-2ubuntu7~ ppa2_s390x. deb works fine, thanks!
zlib1g_
# time -p env DFLTCC=0 python3 -c 'import gzip; gzip.decompress (gzip.compress( b"\x00" * 500000000, 1))'
real 2.59
user 2.23
sys 0.35
# dpkg -i zlib1g_ 1.2.11. dfsg-2ubuntu7~ ppa2_s390x. deb
# time -p env DFLTCC=0 python3 -c 'import gzip; gzip.decompress (gzip.compress( b"\x00" * 500000000, 1))'
real 1.99
user 1.62
sys 0.36
However, I'm not quite sure why does
++#ifdef S390_CRC32_VX AT_HWCAP) & HWCAP_S390_VX)
++ if (getauxval(
++ return s390_crc32_vx;
++#endif
work. For me getauxval() causes a segfault when called from an ifunc, that's why I have to use the s390-specific ifunc's hwcap parameter.