[PATCH] D70453: [Support] Don't require the XCR0 OSXSAVE bits when detecting skylake-avx512.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 14:51:32 PST 2019
fhahn added a comment.
In D70453#1752392 <https://reviews.llvm.org/D70453#1752392>, @craig.topper wrote:
> Can we check sysctl for apple?
sysctl would return AVX512 as optional, but I am not sure if that adds any value? As mentioned in the comment, Darwin will save the AXV512 context on AVX512 hardware on-demand. More details can be found here: https://github.com/apple/darwin-xnu/blob/master/osfmk/i386/fpu.c#L174
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70453/new/
https://reviews.llvm.org/D70453
More information about the llvm-commits
mailing list