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

// 为非 fp64 目标构建此模块 (即使未使用) 也失败,并显示 LLVM 错误。
//
#[cfg(target_feature = "fp64")]
mod msa;
#[cfg(target_feature = "fp64")]
pub use self::msa::*;

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

/// 生成陷阱指令 `BREAK`
#[cfg_attr(test, assert_instr(break))]
#[inline]
pub unsafe fn break_() -> ! {
    crate::intrinsics::abort()
}