core_arch: Add LoongArch LSX testcases

This commit is contained in:
WANG Rui 2023-11-02 10:14:46 +08:00 committed by Amanieu d'Antras
parent 9a8f1dac0e
commit f74fe05f9e
3 changed files with 7137 additions and 0 deletions

View file

@ -11,3 +11,7 @@ mod generated;
#[rustfmt::skip]
#[unstable(feature = "stdarch_loongarch", issue = "117427")]
pub use self::generated::*;
#[rustfmt::skip]
#[cfg(test)]
mod tests;

File diff suppressed because it is too large Load diff

View file

@ -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());