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

more robust __builtin_assume_aligned detection #341

Merged
merged 1 commit into from
Aug 1, 2023

Commits on Jul 31, 2023

  1. more robust __builtin_assume_aligned detection

    __builtin_assume_aligned is available since GCC 4.7, but __has_builtin
    was added much later. Check for the GCC version if __has_builtin is not
    available.
    
    Users can also define CGLM_HAVE_BUILTIN_ASSUME_ALIGNED to either 1 or 0
    to explicitly enable/disable the use of __builtin_assume_aligned. Meson
    will do it automatically (by performing a configure-time test).
    Akaricchi committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    2724620 View commit details
    Browse the repository at this point in the history