Skip to content

Commit 432f300

Browse files
authored
Remove xsaves from Zen cpuspec (#50186)
1 parent 0aa93e3 commit 432f300

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/processor_x86.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,11 @@ constexpr auto bdver2 = bdver1 | get_feature_masks(f16c, bmi, tbm, fma);
227227
constexpr auto bdver3 = bdver2 | get_feature_masks(xsaveopt, fsgsbase);
228228
constexpr auto bdver4 = bdver3 | get_feature_masks(avx2, bmi2, mwaitx, movbe, rdrnd);
229229

230+
// technically xsaves is part of znver1, znver2, and znver3
231+
// Disabled due to Erratum 1386
232+
// See: https://github.com/JuliaLang/julia/issues/50102
230233
constexpr auto znver1 = haswell | get_feature_masks(adx, aes, clflushopt, clzero, mwaitx, prfchw,
231-
rdseed, sha, sse4a, xsavec, xsaves);
234+
rdseed, sha, sse4a, xsavec);
232235
constexpr auto znver2 = znver1 | get_feature_masks(clwb, rdpid, wbnoinvd);
233236
constexpr auto znver3 = znver2 | get_feature_masks(shstk, pku, vaes, vpclmulqdq);
234237

0 commit comments

Comments
 (0)