macro_rules! is_x86_feature_detected {
("tsc") => { ... };
("msr") => { ... };
("apic") => { ... };
("cx16") => { ... };
("pcid") => { ... };
("x2apic") => { ... };
("tsc_deadline") => { ... };
("xsave") => { ... };
("hypervisor") => { ... };
("arat") => { ... };
("intel_thread_director") => { ... };
("fsgsbase") => { ... };
("tsc_adjust") => { ... };
("smep") => { ... };
("invpcid") => { ... };
("smap") => { ... };
("la57") => { ... };
("rdpid") => { ... };
("hybrid") => { ... };
("lass") => { ... };
("nmi_src") => { ... };
("sipi64") => { ... };
("xsave_x87") => { ... };
("xsave_sse") => { ... };
("xsave_avx") => { ... };
("xsave_mpx_bounds") => { ... };
("xsave_mpx_cfg_status") => { ... };
("xsave_avx512_opmask") => { ... };
("xsave_avx512_zmm_hi256") => { ... };
("xsave_avx512_zmm_hi16") => { ... };
("xsave_pkru") => { ... };
("xsave_amx_cfg") => { ... };
("xsave_amx_tile_data") => { ... };
("xsave_apx_gpr") => { ... };
("nx") => { ... };
("pdpe1gb") => { ... };
("rdtscp") => { ... };
("extapic") => { ... };
("invlpgb") => { ... };
($t:tt,) => { ... };
($t:tt) => { ... };
}
🔬This is a nightly-only experimental API. (
kernel_feature_detect
)Available on x86-64 and non-crate feature
use_std
only.