mod.rs - source
Description: Source of the Rust file `library/core/src/../../stdarch/crates/core_arch/src/powerpc/mod.rs`.

#
core/stdarch/crates/core_arch/src/powerpc/
mod.rs

    1//! PowerPC intrinsics
    2
    3pub(crate) mod macros;
    4
    5mod altivec;
    6#[unstable(feature = "stdarch_powerpc", issue = "111145")]
    7pub use self::altivec::*;
    8
    9mod vsx;
    10#[unstable(feature = "stdarch_powerpc", issue = "111145")]
    11pub use self::vsx::*;
    12
    13#[cfg(test)]
    14use stdarch_test::assert_instr;
    15
    16/// Generates the trap instruction `TRAP`
    17#[cfg_attr(test, assert_instr(trap))]
    18#[inline]
    19#[unstable(feature = "stdarch_powerpc", issue = "111145")]
    20pub unsafe fn trap() -> ! {
    21    crate::intrinsics::abort()
    22}