about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorQiu Chaofan <qcf@ecnelises.com>2022-11-22 14:45:56 +0800
committerQiu Chaofan <qcf@ecnelises.com>2022-11-22 14:45:56 +0800
commit85c99855c4e5933d8ea1f67416e02936ae09dcfc (patch)
treeaeb4c0ca4b6a5568d78f73f4b29988da63f15349 /compiler/rustc_codegen_ssa/src
parent911cbf8e46f0f3b044c87fc5cbca922878db757b (diff)
downloadrust-85c99855c4e5933d8ea1f67416e02936ae09dcfc.tar.gz
rust-85c99855c4e5933d8ea1f67416e02936ae09dcfc.zip
Allow power10-vector feature in PowerPC
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs1
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 002aaf0db13..301683e8e85 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -215,6 +215,7 @@ const HEXAGON_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
 const POWERPC_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     // tidy-alphabetical-start
     ("altivec", Some(sym::powerpc_target_feature)),
+    ("power10-vector", Some(sym::powerpc_target_feature)),
     ("power8-altivec", Some(sym::powerpc_target_feature)),
     ("power8-vector", Some(sym::powerpc_target_feature)),
     ("power9-altivec", Some(sym::powerpc_target_feature)),