1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Run-time feature detection on PowerPC.

features! {
    @TARGET: powerpc;
    @CFG: target_arch = "powerpc";
    @MACRO_NAME: is_powerpc_feature_detected;
    @MACRO_ATTRS:
    /// Checks if `powerpc` feature is enabled.
    #[unstable(feature = "stdsimd", issue = "27731")]
    @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] altivec: "altivec";
    /// Altivec
    @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] vsx: "vsx";
    /// VSX
    @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] power8: "power8";
    /// Power8
}