Skip to content

Fix undefined flags in base64 #14316

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 1 commit into from
May 25, 2024
Merged

Conversation

jorgsowa
Copy link
Contributor

@jorgsowa jorgsowa commented May 23, 2024

Recreated #13448

Part of #5526 for base64 ext.

Checks for flags:

  • ZEND_INTRIN_AVX2_NATIVE
  • ZEND_INTRIN_AVX2_FUNC_PROTO
  • ZEND_INTRIN_AVX2_FUNC_PTR
  • ZEND_INTRIN_AVX2_RESOLVER
  • ZEND_INTRIN_SSSE3_NATIVE
  • ZEND_INTRIN_SSSE3_RESOLVER
  • ZEND_INTRIN_SSSE3_FUNC_PROTO
  • ZEND_INTRIN_AVX512_FUNC_PROTO
  • ZEND_INTRIN_AVX512_FUNC_PTR
  • ZEND_INTRIN_AVX512_VBMI_FUNC_PROTO
  • ZEND_INTRIN_AVX512_VBMI_FUNC_PTR
  • BASE64_INTRIN_AVX512_VBMI_FUNC_PTR
  • BASE64_INTRIN_AVX512_VBMI_FUNC_PROTO
  • BASE64_INTRIN_AVX512_FUNC_PTR
  • BASE64_INTRIN_AVX512_FUNC_PROTO
  • BASE64_INTRIN_AVX512_VBMI_FUNC_PTR
  • HAVE_FUNC_ATTRIBUTE_TARGET

Copy link
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@petk petk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Now there are still a lot of these outdated comments at the endif and not even related to this PR. So this should probably be fixed differently if not even removed from the code:

#endif /* ZEND_INTRIN_SSSE3_NATIVE || (ZEND_INTRIN_SSSE3_RESOLVER && !ZEND_INTRIN_AVX2_NATIVE) */

Anyway, all looks good to merge here. Thanks @jorgsowa

@petk petk merged commit 8a24e31 into php:master May 25, 2024
7 of 10 checks passed
@jorgsowa jorgsowa deleted the fix_undef_flags_in_base64 branch June 13, 2024 21:43
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.

3 participants