macro_rules! is_powerpc_feature_detected {
("altivec") => { ... };
("vsx") => { ... };
("power8") => { ... };
("power8-altivec") => { ... };
("power8-vector") => { ... };
("power8-crypto") => { ... };
("power9") => { ... };
("power9-altivec") => { ... };
("power9-vector") => { ... };
($t:tt,) => { ... };
($t:tt) => { ... };
}🔬This is a nightly-only experimental API. (
stdarch_powerpc_feature_detection #111191)Expand description
Check for the presence of a CPU feature at runtime.
When the feature is known to be enabled at compile time (e.g. via -Ctarget-feature)
the macro expands to true.