Skip to content

Commit 03de2c7

Browse files
committed
[xsave] whitelist xsave target features
Whitelists `xsave`, `xsaveopt`, `xsavec`, `xsavec`.
1 parent 6c0d50f commit 03de2c7

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
@@ -76,7 +76,9 @@ const ARM_WHITELIST: &'static [&'static str] = &["neon\0", "vfp2\0", "vfp3\0", "
7676
const X86_WHITELIST: &'static [&'static str] = &["avx\0", "avx2\0", "bmi\0", "bmi2\0", "sse\0",
7777
"sse2\0", "sse3\0", "sse4.1\0", "sse4.2\0",
7878
"ssse3\0", "tbm\0", "lzcnt\0", "popcnt\0",
79-
"sse4a\0", "rdrnd\0", "rdseed\0", "fma\0"];
79+
"sse4a\0", "rdrnd\0", "rdseed\0", "fma\0",
80+
"xsave\0", "xsaveopt\0", "xsavec\0",
81+
"xsaves\0"];
8082

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

0 commit comments

Comments
 (0)