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

Support __builtin_shuffle as an alternative to __builtin_shufflevector #545

Merged
merged 1 commit into from
Oct 22, 2022

Conversation

AymenQ
Copy link
Collaborator

@AymenQ AymenQ commented Oct 21, 2022

GCC versions < 12 do not support __builtin_shufflevector, though they do
support an alternative builtin named __builtin_shuffle. It requires that
the indices are passed as an integer vector as opposed to variadic
arguments.

This enables us to benefit from potentially improved and better
performing code generation for intrinsics that are implemented with this
builtin.

sse2neon.h Outdated Show resolved Hide resolved
GCC versions < 12 do not support __builtin_shufflevector, though they do
support an alternative builtin named __builtin_shuffle. It requires that
the indices are passed as an integer vector as opposed to variadic
arguments.

This enables us to benefit from potentially improved and better
performing code generation for intrinsics that are implemented with this
builtin.
@jserv jserv merged commit c0a1262 into DLTcollab:master Oct 22, 2022
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.

2 participants