mod.rs.html -- source
Description: Source to the Rust file `src/libcore/../stdarch/crates/core_arch/src/powerpc/mod.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19

    //! PowerPC intrinsics

    #[cfg(target_feature = "altivec")]
    mod altivec;
    #[cfg(target_feature = "altivec")]
    pub use self::altivec::*;

    mod vsx;
    pub use self::vsx::*;

    #[cfg(test)]
    use stdarch_test::assert_instr;

    /// Generates the trap instruction `TRAP`
    #[cfg_attr(test, assert_instr(trap))]
    #[inline]
    pub unsafe fn trap() -> ! {
        crate::intrinsics::abort()
    }