Skip to content

gh-148474: Fix _Py_hexlify_simd compilation with older clang#148475

Open
jmroot wants to merge 4 commits intopython:mainfrom
jmroot:pystrhex
Open

gh-148474: Fix _Py_hexlify_simd compilation with older clang#148475
jmroot wants to merge 4 commits intopython:mainfrom
jmroot:pystrhex

Conversation

@jmroot
Copy link
Copy Markdown
Contributor

@jmroot jmroot commented Apr 12, 2026

Apple clang prior to around Xcode 9 does not automatically generate a vector from a scalar shift operator RHS in this case. Doing it explicitly works with all versions and arguably also makes it clearer what is actually happening.

Apple clang prior to around Xcode 9 does not automatically generate a
vector from a scalar shift operator RHS in this case. Doing it
explicitly works with all versions and arguably also makes it clearer
what is actually happening.
Copy link
Copy Markdown
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

LGTM.

@picnixz
Copy link
Copy Markdown
Member

picnixz commented Apr 13, 2026

I hope that my NEWS entry change is correct (I don't know if we had the c file directives correctly set up)

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