Skip to content

Commit 95e9aff

Browse files
committed
[X86] Update sub-features of APX for host CPU
This is a follow-up for #80636
1 parent f6a928a commit 95e9aff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/TargetParser/Host.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,9 @@ const StringMap<bool> sys::getHostCPUFeatures() {
18261826
Features["ppx"] = HasAPXF;
18271827
Features["ndd"] = HasAPXF;
18281828
Features["ccmp"] = HasAPXF;
1829+
Features["nf"] = HasAPXF;
18291830
Features["cf"] = HasAPXF;
1831+
Features["zu"] = HasAPXF;
18301832

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

0 commit comments

Comments
 (0)