rust-lang / stdarch

Rust's standard library vendor-specific APIs and run-time feature detection
https://doc.rust-lang.org/stable/core/arch/
Apache License 2.0
599 stars 260 forks source link

fix: invalid bit for detecting avx512 feature #1545

Closed silver-ymz closed 4 months ago

silver-ymz commented 5 months ago

reference: https://www.intel.com/content/dam/develop/external/us/en/documents/architecture-instruction-set-extensions-programming-reference.pdf

avx512vp2intersect is on page 26, avx512bf16 is on page 27

rustbot commented 5 months ago

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.