Skip to content

Commit

Permalink
x86: Add the adx target feature to whitelist
Browse files Browse the repository at this point in the history
Requested in rust-lang/stdarch#322 this is hopefully the first
step!
  • Loading branch information
alexcrichton committed Dec 12, 2018
1 parent bd47d68 commit 78f20de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_codegen_llvm/llvm_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const AARCH64_WHITELIST: &[(&str, Option<&str>)] = &[
];

const X86_WHITELIST: &[(&str, Option<&str>)] = &[
("adx", Some("adx_target_feature")),
("aes", None),
("avx", None),
("avx2", None),
Expand Down

0 comments on commit 78f20de

Please sign in to comment.