Introduce module for host's SIMD feature detection
Introduce a function cmake_host_system_information_extra()
to detect extra features of CPU such as SSE, AVX and so on.
It supports Linux, Mac OSX, Windows/MSVC, *BSD through OS reports, and others using a GCC/CLANG builtin function. It also intend to work on ARM/Linux.
It provide a same interface as cmake_host_sytem_information()
that gives QUERY <key>
and it accept many type of keyes such as HAS_AVX512F
.
This module does not depend on kwsys library.
Related: #18445
Signed-off-by: Hiroshi Miura miurahr@linux.com
Edited by Hiroshi Miura