summaryrefslogtreecommitdiffstats
path: root/library/stdarch/crates/std_detect/src/detect/arch/powerpc64.rs
blob: 773afd6ceb4267ae55cf89adc0c188a50b33caf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Run-time feature detection on PowerPC64.

features! {
    @TARGET: powerpc64;
    @CFG: target_arch = "powerpc64";
    @MACRO_NAME: is_powerpc64_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
}