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

Refine Arm64 PMULL runtime check in MariaDB

Details

    Description

      Raspberry Pi 4 supports crc32 but doesn't support pmull (MDEV-23030).

      The PR #1645 offers a solution to fix this issue. But it does not consider
      the condition that the target platform does support crc32 but not support PMULL.

      In this condition, it should leverage the Arm64 crc32 instruction (__crc32c) and
      just only skip parallel computation (pmull/vmull) rather than skip all hardware
      crc32 instruction of computation.

      Attachments

        Issue Links

          Activity

            CRC-32C will be computed for InnoDB data pages and redo log blocks on ARMv8 using the CRC32 instructions and optionally PMULL instructions. Previously, both instructions were mandatory for accelerated operation.

            marko Marko Mäkelä added a comment - CRC-32C will be computed for InnoDB data pages and redo log blocks on ARMv8 using the CRC32 instructions and optionally PMULL instructions. Previously, both instructions were mandatory for accelerated operation.

            People

              marko Marko Mäkelä
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.