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
598 stars 255 forks source link

Runtime detection of VEX variants of AVX512 #1586

Closed sayantn closed 2 weeks ago

sayantn commented 3 weeks ago

Added run-time detection for 5 new x86 target features. Expanded the Cache size to 93.

Fixed run-time detection of VAES, GFNI, VPCLMULQDQ (they do not need AVX512 support, the 512-bit versions need AVX512F, and that should be handled in target-feature attributes of the intrinsics.

See also the rustc PR

rustbot commented 3 weeks ago

r? @Amanieu

rustbot has assigned @Amanieu. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer