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

Updated the list of white-listed target features for x86 #78361

Merged
merged 4 commits into from
Nov 18, 2020

Commits on Oct 25, 2020

  1. Updated the list of white-listed target features for x86

    This PR both adds in-source documentation on what to look out for
    when adding a new (X86) feature set and adds all that are detectable at run-time in Rust stable
    as of 1.27.0.
    
    This should only enable the use of the corresponding LLVM intrinsics.
    Actual intrinsics need to be added separately in rust-lang/stdarch.
    
    It also re-orders the run-time-detect test statements to be more consistent
    with the actual list of intrinsics whitelisted and removes underscores not present
    in the actual names (which might be mistaken as being part of the name)
    DevJPM committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    9feb567 View commit details
    Browse the repository at this point in the history
  2. Removed movbe from run-time-detect

    `movbe` seems to not be a run-time detectable feature on x86.
    It has thus been removed from the list.
    It was only commented out to ease comparison against the full list.
    DevJPM committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    cd95e93 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Updated documentation, x86 feature detection testing, and removed LLV…

    …M 9 exclusive features
    
    Updated the added documentation in llvm_util.rs to note which copies of LLVM need to be inspected.
    Removed avx512bf16 and avx512vp2intersect because they are unsupported before LLVM 9 with the build with external LLVM 8 being supported
    Re-introduced detection testing previously removed for un-requestable features tsc and mmx
    DevJPM committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    3daa93f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. Re-enable LLVM 9 target features with LLVM 9 being the minimum now

    With rust-lang#78848 merged, the minimum supported LLVM version is now 9
    which means we can actually use the target features introduced in LLVM 9
    DevJPM committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    72b83af View commit details
    Browse the repository at this point in the history