Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2440

vpmsum_crc32: Per the PPC64 ABI, v20-v31 are non-volatile register

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • WT2.8.0
    • None
    • Platforms 11 (03/11/16)

    Description

      See http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#REG for calling convention.

      In experiments under GDB, we see that after crc32_vpmsum is called that registers v20-v31 are modified. We discovered this issue after integrating the crc32_vpmsum code into our C++ code base which targeted POWER8 for code generation, see https://jira.mongodb.org/browse/SERVER-22773 for repro.

      Attachments

        Issue Links

          Activity

            People

              mark.benvenuto@mongodb.com Mark Benvenuto
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: