Skip to content

Commit

Permalink
Rollup merge of rust-lang#132174 - RalfJung:pclmulqdq, r=calebzulawski
Browse files Browse the repository at this point in the history
x86 target features: make pclmulqdq imply sse2

Based on comments in rust-lang/stdarch#1661

Fixes rust-lang/stdarch#1661
  • Loading branch information
jieyouxu authored Oct 26, 2024
2 parents 569f187 + 867640e commit 4867569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/target_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &[]),
Expand Down

0 comments on commit 4867569

Please sign in to comment.