diff options
| author | sayantn <sayantan.chakraborty@students.iiserpune.ac.in> | 2024-07-12 23:30:22 +0530 |
|---|---|---|
| committer | sayantn <sayantan.chakraborty@students.iiserpune.ac.in> | 2024-07-12 23:30:22 +0530 |
| commit | 1fd0311eabd9d1307b21eafd2a5e9227b91dfb9a (patch) | |
| tree | a15597eb42cd77cfb4940ce857330b988864a993 /compiler/rustc_codegen_ssa/src | |
| parent | 5d76a13bbedebd773b4960432bff14f40acf3840 (diff) | |
Added the `xop` target feature and `xop_target_feature` gate
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 22006c0b471..cea164df617 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -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, }; |
