1
Fork 0

Remove LSE2

This commit is contained in:
Adam Gemmell 2021-05-19 16:11:11 +01:00
parent 3f5f54cd8b
commit 523b4d1499
2 changed files with 1 additions and 4 deletions

View file

@ -153,7 +153,6 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
("aarch64", "fp") => "fp-armv8", ("aarch64", "fp") => "fp-armv8",
("aarch64", "fp16") => "fullfp16", ("aarch64", "fp16") => "fullfp16",
("aarch64", "fhm") => "fp16fml", ("aarch64", "fhm") => "fp16fml",
("aarch64", "lse2") => "outline-atomics",
("aarch64", "rcpc2") => "rcpc-immo", ("aarch64", "rcpc2") => "rcpc-immo",
("aarch64", "dpb") => "ccpp", ("aarch64", "dpb") => "ccpp",
("aarch64", "dpb2") => "ccdp", ("aarch64", "dpb2") => "ccdp",

View file

@ -33,7 +33,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("thumb-mode", Some(sym::arm_target_feature)), ("thumb-mode", Some(sym::arm_target_feature)),
]; ];
// Commented features are not available in LLVM 9.0, or have since been renamed // Commented features are not available in LLVM 10.0, or have since been renamed
const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
// FEAT_AdvSimd // FEAT_AdvSimd
("neon", Some(sym::aarch64_target_feature)), ("neon", Some(sym::aarch64_target_feature)),
@ -51,8 +51,6 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("ras", Some(sym::aarch64_target_feature)), ("ras", Some(sym::aarch64_target_feature)),
// FEAT_LSE // FEAT_LSE
("lse", Some(sym::aarch64_target_feature)), ("lse", Some(sym::aarch64_target_feature)),
// FEAT_LSE2
// ("lse2", Some(sym::aarch64_target_feature)),
// FEAT_RDM // FEAT_RDM
("rdm", Some(sym::aarch64_target_feature)), ("rdm", Some(sym::aarch64_target_feature)),
// FEAT_RCPC // FEAT_RCPC