Skip to content

Commit

Permalink
Rollup merge of rust-lang#56749 - alexcrichton:adx, r=gnzlbg
Browse files Browse the repository at this point in the history
x86: Add the `adx` target feature to whitelist

Requested in rust-lang/stdarch#322 this is hopefully the first
step!
  • Loading branch information
kennytm committed Dec 14, 2018
2 parents 123b72a + 78f20de commit adb674c
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 adb674c

Please sign in to comment.