Added the xop target feature and xop_target_feature gate

This commit is contained in:
sayantn 2024-07-12 23:30:22 +05:30
parent 5d76a13bbe
commit 1fd0311eab
8 changed files with 26 additions and 2 deletions

View file

@ -81,6 +81,7 @@ pub fn from_target_feature(
Some(sym::lahfsahf_target_feature) => rust_features.lahfsahf_target_feature,
Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
Some(sym::x86_amx_intrinsics) => rust_features.x86_amx_intrinsics,
Some(sym::xop_target_feature) => rust_features.xop_target_feature,
Some(name) => bug!("unknown target feature gate {}", name),
None => true,
};