Skip to content

Commit

Permalink
Disable AVX512 single buffer MD5 on Zen5 family
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Aug 6, 2024
1 parent b721a56 commit 890e467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hasher/hasher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct HasherCpuCap {
isSmallCore = CPU_FAMMDL_IS_AMDCAT(family, model);
}

isVecRotSlow = (family == 0xaf); // vector rotate has 2 cycle latency on Zen4
isVecRotSlow = (family == 0xaf || family == 0xbf); // vector rotate has 2 cycle latency on Zen4/5

hasAVX = false; hasBMI1 = false; hasAVX2 = false; hasAVX512F = false; hasAVX512VLBW = false;
#if !defined(_MSC_VER) || _MSC_VER >= 1600
Expand Down

0 comments on commit 890e467

Please sign in to comment.