Skip to content

Autotools: Refactor AVX-512 checks #14831

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

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

petk
Copy link
Member

@petk petk commented Jul 5, 2024

  • CS synced
  • checks wrapped in AC_CACHE_CHECK
  • CPP macros PHP_HAVE_AVX512_SUPPORTS and PHP_HAVE_AVX512_VBMI_SUPPORTS are now either defined to 1 or undefined to avoid manual defining on Windows (previously they should be either 0 or 1)

I've checked around the PHP extensions and these don't seem to be used so I think it's pretty non-problematic change to not change Windows configuration header. Otherwise, I can adjust the checks to be back to 0 or 1, and add the two missing definitions to 0 in Windows header.

- CS synced
- checks wrapped in AC_CACHE_CHECK
- CPP macros PHP_HAVE_AVX512_SUPPORTS and PHP_HAVE_AVX512_VBMI_SUPPORTS
  are now either defined to 1 or undefined to avoid manual defining on
  Windows (previously they should be either 0 or 1)
@petk petk merged commit d7ddf83 into php:master Jul 5, 2024
2 checks passed
@petk petk deleted the patch-cache-variables-avx512 branch July 5, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants