[Bug 1932010] Comment bridged from LTC Bugzilla

Simon Chopin 1932010 at bugs.launchpad.net
Wed Aug 11 11:33:13 UTC 2021


> 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.

Perhaps a bug in your compiler version?

In any case, I believe we can consider the current patch as working as
intended, despite this mystery.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1932010

Title:
  [21.10 FEAT] zlib CRC32 optimization for s390x

Status in Ubuntu on IBM z Systems:
  In Progress
Status in zlib package in Ubuntu:
  In Progress

Bug description:
  Use SIMD instructions to accelerate the zlib CRC32 implementation.
  Business value: Performance improvement in database area

  The zlib CRC32 optimization for IBM Z is currently being discussed for inclusion into zlib-ng:
  https://github.com/zlib-ng/zlib-ng/pull/912

  The patch for zlib will be based on that.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1932010/+subscriptions




More information about the Ubuntu-sponsors mailing list