Skip to content

Commit

Permalink
[X86] Update sub-features of APX for host CPU
Browse files Browse the repository at this point in the history
This is a follow-up for llvm#80636
  • Loading branch information
KanRobert committed Jul 30, 2024
1 parent f6a928a commit 95e9aff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/TargetParser/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,9 @@ const StringMap<bool> sys::getHostCPUFeatures() {
Features["ppx"] = HasAPXF;
Features["ndd"] = HasAPXF;
Features["ccmp"] = HasAPXF;
Features["nf"] = HasAPXF;
Features["cf"] = HasAPXF;
Features["zu"] = HasAPXF;

bool HasLeafD = MaxLevel >= 0xd &&
!getX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);
Expand Down

0 comments on commit 95e9aff

Please sign in to comment.