Skip to content

Commit aa1b0b2

Browse files
committed
Auto merge of #45761 - gnzlbg:xsave_feature, r=alexcrichton
[xsave] whitelist xsave target feature Required for rust-lang/stdarch#171
2 parents d6b06c6 + 03de2c7 commit aa1b0b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_trans/llvm_util.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ const AARCH64_WHITELIST: &'static [&'static str] = &["neon\0"];
7878
const X86_WHITELIST: &'static [&'static str] = &["avx\0", "avx2\0", "bmi\0", "bmi2\0", "sse\0",
7979
"sse2\0", "sse3\0", "sse4.1\0", "sse4.2\0",
8080
"ssse3\0", "tbm\0", "lzcnt\0", "popcnt\0",
81-
"sse4a\0", "rdrnd\0", "rdseed\0", "fma\0"];
81+
"sse4a\0", "rdrnd\0", "rdseed\0", "fma\0",
82+
"xsave\0", "xsaveopt\0", "xsavec\0",
83+
"xsaves\0"];
8284

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

0 commit comments

Comments
 (0)