aboutsummaryrefslogtreecommitdiff
path: root/tools/instruction_set_support/src/main.rs
blob: 6b509b053255aa8189e1f22714218dae02ca1b3b (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
    {
        dbg!(is_x86_feature_detected!("sse2"));
        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"));
    }
}