about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtyom Pavlov <newpavlov@gmail.com>2018-02-10 19:22:04 +0300
committerGitHub <noreply@github.com>2018-02-10 19:22:04 +0300
commit14f488ee7d05c39b8d6ea2855da274157555df0b (patch)
treed9bb9036441a9da71fc200879c532ee2d4245bef
parent39abcc04139a0fd24422f422271849dc91e39a88 (diff)
downloadrust-14f488ee7d05c39b8d6ea2855da274157555df0b.tar.gz
rust-14f488ee7d05c39b8d6ea2855da274157555df0b.zip
Whitelist pclmul x86 feature flag
Relevant `stdsimd` [issue](https://github.com/rust-lang-nursery/stdsimd/issues/318).
-rw-r--r--src/librustc_trans/llvm_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/llvm_util.rs b/src/librustc_trans/llvm_util.rs
index 843231d376f..f719562b476 100644
--- a/src/librustc_trans/llvm_util.rs
+++ b/src/librustc_trans/llvm_util.rs
@@ -88,7 +88,7 @@ const X86_WHITELIST: &'static [&'static str] = &["avx\0", "avx2\0", "bmi\0", "bm
                                                  "ssse3\0", "tbm\0", "lzcnt\0", "popcnt\0",
                                                  "sse4a\0", "rdrnd\0", "rdseed\0", "fma\0",
                                                  "xsave\0", "xsaveopt\0", "xsavec\0",
-                                                 "xsaves\0", "aes\0",
+                                                 "xsaves\0", "aes\0", "pclmul\0"
                                                  "avx512bw\0", "avx512cd\0",
                                                  "avx512dq\0", "avx512er\0",
                                                  "avx512f\0", "avx512ifma\0",