W3cubDocs

/Rust

Macro is_powerpc64_feature_detected

macro_rules! is_powerpc64_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)

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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/arch/macro.is_powerpc64_feature_detected.html