Skip to content

add GCC >=15 __builtin_stdc_rotate_left suppor to rotl - #976

Merged
Cyan4973 merged 1 commit into
Cyan4973:devfrom
crrodriguez:dev
Nov 3, 2024
Merged

Cyan4973 merged 1 commit into
Cyan4973:devfrom
crrodriguez:dev

Conversation

@crrodriguez

Copy link
Copy Markdown
Contributor

GCC does not support the clang builtins but does have type generic, type-checking __builtin_stdc_rotate_left.

The only advantage of this is that the builtin evaluates the arguments only once.

GCC does not support the clang builtins but does have
type generic, type-checking __builtin_stdc_rotate_left.

The only advantage of this is that the builtin evaluates the arguments
only once.
@Cyan4973 Cyan4973 self-assigned this Oct 30, 2024

@Cyan4973 Cyan4973 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good to me!

@Cyan4973
Cyan4973 merged commit 51640fe into Cyan4973:dev Nov 3, 2024
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