core_arch: Add LoongArch LSX testcases
This commit is contained in:
parent
9a8f1dac0e
commit
f74fe05f9e
3 changed files with 7137 additions and 0 deletions
|
|
@ -11,3 +11,7 @@ mod generated;
|
|||
#[rustfmt::skip]
|
||||
#[unstable(feature = "stdarch_loongarch", issue = "117427")]
|
||||
pub use self::generated::*;
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
|
|||
7132
library/stdarch/crates/core_arch/src/loongarch64/lsx/tests.rs
Normal file
7132
library/stdarch/crates/core_arch/src/loongarch64/lsx/tests.rs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -78,6 +78,7 @@ pub fn simd_test(
|
|||
force_test = true;
|
||||
"is_mips64_feature_detected"
|
||||
}
|
||||
"loongarch64" => "is_loongarch_feature_detected",
|
||||
t => panic!("unknown target: {t}"),
|
||||
};
|
||||
let macro_test = Ident::new(macro_test, Span::call_site());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue