Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22641

Provide SIMD optimized wrapper for zlib crc32()

    XMLWordPrintable

    Details

      Description

      Currently, MariaDB uses a hardware optimized version of the zlib crc32() function for x86 only in mariabackup (crc32_iso3309() is using the pclmul instruction). For POWER, it could be (but has not yet been) optimized by using the vpmsum instruction.

      We should make an optimized implementation available across all platforms (x86, ARMv8, POWER) and replace all direct calls to crc32_iso3309() or the the zilb function crc32() with calls to a new wrapper function my_crc32(), until the acceleration has been integrated in zlib.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              krunalbauskar Krunal Bauskar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: