Skip to content

Commit 0511077

Browse files
committed
rustc: Add sha to the x86 feature whitelist
This'll help us bind the [`SHA` intrinsics][intr] in stdsimd! [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
1 parent 883e746 commit 0511077

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_trans/llvm_util.rs

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const X86_WHITELIST: &'static [&'static str] = &["aes", "avx", "avx2", "avx512bw
9292
"bmi1", "bmi2", "fma", "fxsr",
9393
"lzcnt", "mmx", "pclmulqdq",
9494
"popcnt", "rdrand", "rdseed",
95+
"sha",
9596
"sse", "sse2", "sse3", "sse4.1",
9697
"sse4.2", "sse4a", "ssse3",
9798
"tbm", "xsave", "xsavec",

0 commit comments

Comments
 (0)