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

cpufeatures: map aarch64 HWCAPs to target features; add crypto #456

Merged
merged 1 commit into from
Jun 3, 2021

Commits on Jun 2, 2021

  1. cpufeatures: map aarch64 HWCAPs to target features; add crypto

    Closes #395
    
    The HWCAPs provided by Linux are finer-grained than LLVM target
    features. This crate is trying to detect the latter, so we need to group
    together these finer grained features detected via HWCAPs.
    
    This commit attempts to group together finer grained HWCAPs into coarser
    grained target features, ensuring all of the relevant HWCAPs for a given
    target feature are available.
    
    Additionally, this adds support for the `crypto` target feature, which
    implies `aes` (and with it PMULL), along with `sha2` and `neon`
    (although the latter is always present on `aarch64`)
    tarcieri committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    ba19656 View commit details
    Browse the repository at this point in the history