diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-26 22:01:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-26 22:01:13 +0800 |
| commit | 656a2ec0bd1a56fbd93b1c88c4a6e48a8ce9fb0a (patch) | |
| tree | a6a6f2274e9262610ba80a6874ba07027837ed62 | |
| parent | bafe790a2d3ac8f6f2092a86a4eb22df864481ac (diff) | |
| parent | 867640e24d9a54b5a4251e2827c83131f4574bb5 (diff) | |
| download | rust-656a2ec0bd1a56fbd93b1c88c4a6e48a8ce9fb0a.tar.gz rust-656a2ec0bd1a56fbd93b1c88c4a6e48a8ce9fb0a.zip | |
Rollup merge of #132174 - RalfJung:pclmulqdq, r=calebzulawski
x86 target features: make pclmulqdq imply sse2 Based on comments in https://github.com/rust-lang/stdarch/issues/1661 Fixes https://github.com/rust-lang/stdarch/issues/1661
| -rw-r--r-- | compiler/rustc_target/src/target_features.rs | 2 |
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, &[]), |
