Add lahfsahf and prfchw target feature

This commit is contained in:
Chris Denton 2024-02-12 09:06:45 -03:00
parent aebf4511e9
commit 83a850f2a1
No known key found for this signature in database
GPG key ID: 713472F2F45627DE
8 changed files with 13 additions and 2 deletions

View file

@ -77,6 +77,8 @@ pub fn from_target_feature(
Some(sym::aarch64_ver_target_feature) => rust_features.aarch64_ver_target_feature,
Some(sym::csky_target_feature) => rust_features.csky_target_feature,
Some(sym::loongarch_target_feature) => rust_features.loongarch_target_feature,
Some(sym::lahfsahf_target_feature) => rust_features.lahfsahf_target_feature,
Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
Some(name) => bug!("unknown target feature gate {}", name),
None => true,
};