Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP x86_64 asm: check for AVX2 support #7979

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

SparkiDev
Copy link
Contributor

Description

Check for AVX2 as well as BMI2 and ADX.
Some virtual machines may not have AVX2 with the others.

Fixes #7976

Testing

Ran in QEMU with SandyBridge,bmi2,adx

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@SparkiDev SparkiDev self-assigned this Sep 17, 2024
Check for AVX2 as well as BMI2 and ADX.
Some virtual machines may not have AVX2 with the others.
@SparkiDev
Copy link
Contributor Author

retest this please

@vifino
Copy link

vifino commented Sep 18, 2024

The changes fixed my problems in #7976, wolfssl/HAProxy is no longer crashing on the appliance with an Intel Pentium D1517, which, curiously enough, does not have AVX/AVX2 flags, but the bmi2/adx flags.

Thank you!

@JacobBarthelmeh JacobBarthelmeh merged commit ffd0fb2 into wolfSSL:master Sep 18, 2024
135 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: --enable-sp=yes,asm causes crashes when AVX support is missing
4 participants