Check for AVX #12903

issue DesWurstes opened this issue on April 6, 2018
  1. DesWurstes commented at 2:45 PM on April 6, 2018: contributor

    https://github.com/bitcoin/bitcoin/blob/5f0c6a7b0e47e03f848dc992d37fe209dd9c6975/src/crypto/sha256.cpp#L183

    This checks whether the CPU supports SSE4. It should also check if the OS supports SSE4. See this StackOverflow answer.

  2. Empact cross-referenced this on Apr 9, 2018 from issue Make use of cpuid.h bit definitions by Empact
  3. DesWurstes closed this on Jun 14, 2018

  4. sipa commented at 3:23 PM on June 14, 2018: member

    Actually, since this issue was opened, AVX2 code was added.

  5. Empact commented at 4:25 PM on June 14, 2018: member

    Shall we reopen this issue then? /cc @DesWurstes

  6. DesWurstes reopened this on Jun 14, 2018

  7. DesWurstes renamed this:
    Check for SSE4
    Check for AVX
    on Jun 14, 2018
  8. sipa cross-referenced this on Jun 14, 2018 from issue For AVX2 code, also check for AVX, XSAVE, and OS support by sipa
  9. laanwj closed this on Jun 24, 2018

  10. laanwj referenced this in commit 5eca4e86d4 on Jun 24, 2018
  11. codablock referenced this in commit 5e6ee8ea5d on Oct 1, 2019
  12. codablock referenced this in commit d07f54b967 on Oct 1, 2019
  13. barrystyle referenced this in commit ff8dc4902f on Jan 22, 2020
  14. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC