blob: c7829d30b73e643f36c30aadc6a2b2139e18514f [file] [log] [blame]
//! 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 stdsimd_test::assert_instr;
/// Generates the trap instruction `TRAP`
#[cfg_attr(test, assert_instr(trap))]
#[inline]
pub unsafe fn trap() -> ! {
::intrinsics::abort()
}