commit | 78f20de075501126949c545a310fb921ab7b4c59 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Wed Dec 12 08:37:56 2018 -0800 |
committer | Alex Crichton <alex@alexcrichton.com> | Wed Dec 12 08:38:42 2018 -0800 |
tree | 23b9f62394e6bee032480014726875dcac8d5a1d | |
parent | bd47d6825bf4090517549d33cfef10d3300b4a75 [diff] |
x86: Add the `adx` target feature to whitelist Requested in rust-lang-nursery/stdsimd#322 this is hopefully the first step!
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index fdb6373..12109ae 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -124,6 +124,7 @@ ]; const X86_WHITELIST: &[(&str, Option<&str>)] = &[ + ("adx", Some("adx_target_feature")), ("aes", None), ("avx", None), ("avx2", None),