about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-26 09:48:39 +0200
committerRalf Jung <post@ralfj.de>2024-10-26 09:48:39 +0200
commit867640e24d9a54b5a4251e2827c83131f4574bb5 (patch)
treec1ab4858f4137c75d8da7dd94fd1d73daa07423f
parentae4c6b66402cdbda8daa626216efd94e2dbe94b2 (diff)
downloadrust-867640e24d9a54b5a4251e2827c83131f4574bb5.tar.gz
rust-867640e24d9a54b5a4251e2827c83131f4574bb5.zip
x86 target features: make pclmulqdq imply sse2
-rw-r--r--compiler/rustc_target/src/target_features.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/target_features.rs b/compiler/rustc_target/src/target_features.rs
index e92366d5c5c..910cafbdf3b 100644
--- a/compiler/rustc_target/src/target_features.rs
+++ b/compiler/rustc_target/src/target_features.rs
@@ -316,7 +316,7 @@ const X86_ALLOWED_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
     ("lahfsahf", Unstable(sym::lahfsahf_target_feature), &[]),
     ("lzcnt", Stable, &[]),
     ("movbe", Stable, &[]),
-    ("pclmulqdq", Stable, &[]),
+    ("pclmulqdq", Stable, &["sse2"]),
     ("popcnt", Stable, &[]),
     ("prfchw", Unstable(sym::prfchw_target_feature), &[]),
     ("rdrand", Stable, &[]),