Skip to content

Commit 5fade39

Browse files
authored
Rollup merge of #47514 - gnzlbg:whitelist_x86_fxsr, r=rkruppe
whitelist x86 fxsr feature #47223 properly checks that only white-listed features are allowed in combination with `target_feature`, but the `fxsr` feature used by `stdsimd` was not white-listed. r? @alexcrichton
2 parents 8b22802 + 86d6301 commit 5fade39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_trans/llvm_util.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ const X86_WHITELIST: &'static [&'static str] = &["avx\0", "avx2\0", "bmi\0", "bm
8585
"avx512dq\0", "avx512er\0",
8686
"avx512f\0", "avx512ifma\0",
8787
"avx512pf\0", "avx512vbmi\0",
88-
"avx512vl\0", "avx512vpopcntdq\0", "mmx\0"];
88+
"avx512vl\0", "avx512vpopcntdq\0",
89+
"mmx\0", "fxsr\0"];
8990

9091
const HEXAGON_WHITELIST: &'static [&'static str] = &["hvx\0", "hvx-double\0"];
9192

0 commit comments

Comments
 (0)