Skip to content

Commit

Permalink
amd supports la57
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Oct 11, 2023
1 parent 6270eb4 commit b900268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddcpuid.d
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,6 @@ void ddcpuid_leaf7(ref CPUINFO cpu, ref REGISTERS regs) {
cpu.avx512_vnni = bit(regs.ecx, 11);
cpu.avx512_bitalg = bit(regs.ecx, 12);
cpu.avx512_vpopcntdq = bit(regs.ecx, 14);
cpu._5pl = bit(regs.ecx, 16);
cpu.cldemote = bit(regs.ecx, 25);
cpu.movdiri = bit(regs.ecx, 27);
cpu.movdir64b = bit(regs.ecx, 28);
Expand Down Expand Up @@ -1676,6 +1675,7 @@ void ddcpuid_leaf7(ref CPUINFO cpu, ref REGISTERS regs) {
cpu.clflushopt = bit(regs.ebx, 23);
cpu.sha = bit(regs.ebx, 29);
// ecx
cpu._5pl = bit(regs.ecx, 16);
cpu.rdpid = bit(regs.ecx, 22);
}

Expand Down

0 comments on commit b900268

Please sign in to comment.