Skip to content

Commit 65a12ef

Browse files
vchuravyKristofferC
authored andcommitted
Remove xsaves from Zen cpuspec (#50186)
(cherry picked from commit 432f300)
1 parent 6549459 commit 65a12ef

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

234237
}

0 commit comments

Comments
 (0)