mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-06 04:36:10 +02:00
10 lines
288 B
Rust
10 lines
288 B
Rust
fn main() {
|
|
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
|
{
|
|
dbg!(is_x86_feature_detected!("sse4.1"));
|
|
dbg!(is_x86_feature_detected!("avx2"));
|
|
dbg!(is_x86_feature_detected!("avx512f"));
|
|
dbg!(is_x86_feature_detected!("avx512vl"));
|
|
}
|
|
}
|