[Lldb-commits] [PATCH] D41962: Fix TestYMMRegisters for older machines without AVX2

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 12 08:44:21 PST 2018

jasonmolenda added a comment.

I suppose a possible alternative would be to figure out the avx2 / avx512 features manually based on the cpuid instead of letting the compiler do it for us.  e.g. https://stackoverflow.com/questions/1666093/cpuid-implementations-in-c and then checking the bits as e.g. described in https://en.wikipedia.org/wiki/CPUID .  Bummer to do it so low level if we can delegate this to the compiler though.



More information about the lldb-commits mailing list