Added asm optimized code for AMD Bulldozer

This commit is contained in:
SChernykh 2018-10-21 18:29:03 +02:00
parent afeaabdca4
commit 4b91978af6
10 changed files with 211 additions and 7 deletions

View file

@ -76,7 +76,7 @@ xmrig::AdvancedCpuInfo::AdvancedCpuInfo() :
m_aes = true;
if (data.vendor == VENDOR_AMD) {
m_assembly = ASM_RYZEN;
m_assembly = (data.ext_family >= 23) ? ASM_RYZEN : ASM_BULLDOZER;
}
else if (data.vendor == VENDOR_INTEL) {
m_assembly = ASM_INTEL;