Add new Tier-3 target: riscv64a23-unknown-linux-gnu

This commit is contained in:
Chen Zhongyao
2025-07-14 13:35:53 +00:00
committed by Zhongyao Chen
parent 577166503a
commit a4cf5e9eca
7 changed files with 166 additions and 1 deletions

View File

@@ -278,7 +278,11 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea
None
}
// Filter out features that are not supported by the current LLVM version
("riscv32" | "riscv64", "zacas") if get_version().0 < 20 => None,
("riscv32" | "riscv64", "zacas" | "rva23s64" | "rva23u64" | "sha" | "ssnpm" | "supm")
if get_version().0 < 20 =>
{
None
}
(
"s390x",
"message-security-assist-extension12"