about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Gemmell <adam.gemmell@arm.com>2024-01-25 15:28:23 +0000
committerAdam Gemmell <adam.gemmell@arm.com>2024-02-15 14:36:29 +0000
commitcc7b4e02beecdb75b3b5ee348840b50d06ad67c1 (patch)
tree5bb06aef46e5f0d8e9d46e42b277205b94434198
parent4ae1e79876fcee94a56c1edf7c029a677084d7fc (diff)
downloadrust-cc7b4e02beecdb75b3b5ee348840b50d06ad67c1.tar.gz
rust-cc7b4e02beecdb75b3b5ee348840b50d06ad67c1.zip
Update aarch64 target feature docs to match LLVM
-rw-r--r--compiler/rustc_target/src/target_features.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_target/src/target_features.rs b/compiler/rustc_target/src/target_features.rs
index 04943fa3879..2b7ac68c21d 100644
--- a/compiler/rustc_target/src/target_features.rs
+++ b/compiler/rustc_target/src/target_features.rs
@@ -86,7 +86,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Stability)] = &[
 
 const AARCH64_ALLOWED_FEATURES: &[(&str, Stability)] = &[
     // tidy-alphabetical-start
-    // FEAT_AES
+    // FEAT_AES & FEAT_PMULL
     ("aes", Stable),
     // FEAT_BF16
     ("bf16", Stable),
@@ -124,7 +124,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Stability)] = &[
     ("lor", Stable),
     // FEAT_LSE
     ("lse", Stable),
-    // FEAT_MTE
+    // FEAT_MTE & FEAT_MTE2
     ("mte", Stable),
     // FEAT_AdvSimd & FEAT_FP
     ("neon", Stable),
@@ -138,7 +138,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Stability)] = &[
     ("pmuv3", Stable),
     // FEAT_RAND
     ("rand", Stable),
-    // FEAT_RAS
+    // FEAT_RAS & FEAT_RASv1p1
     ("ras", Stable),
     // FEAT_RCPC
     ("rcpc", Stable),
@@ -156,7 +156,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Stability)] = &[
     ("sm4", Stable),
     // FEAT_SPE
     ("spe", Stable),
-    // FEAT_SSBS
+    // FEAT_SSBS & FEAT_SSBS2
     ("ssbs", Stable),
     // FEAT_SVE
     ("sve", Stable),