From db342f42a4b00f858cb43328c9fdaff5fe2b5788 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 23 Feb 2022 18:03:40 -0800 Subject: CMake: update the x86 intrinsic checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge all the existing checks into a single one, which is a simple pass or fail, since all our supported compilers support all the intrinsics up to Cannon Lake. The two I've recently added (AVX512VBMI2 and VAES) aren't yet supported everywhere, so they stay. For some reason, all intrinsics seem to be disabled on Android. It looks like some support was missing during the CMake port and this was never again looked at. I'm leaving it be. As for WASM, discussion with maintainers is that the WASM emulation of x86 intrinsics is too hit-and-miss. No one is testing the performance, particularly the person writing such code (me). They also have some non-obvious selection of what is supported natively and what is merely emulated. Using the actual WASM intrinsics is preferred, but someone else's job. Change-Id: Ib42b3adc93bf4d43bd55fffd16c10d66208e8384 Reviewed-by: Tor Arne Vestbø Reviewed-by: Morten Johan Sørvig Reviewed-by: Lorn Potter Reviewed-by: Kai Koehne --- config_help.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'config_help.txt') diff --git a/config_help.txt b/config_help.txt index aabf2aab4a..bd229c43a4 100644 --- a/config_help.txt +++ b/config_help.txt @@ -112,10 +112,6 @@ Build options: -c++std .... Select C++ standard [c++2b/c++20/c++17/c++14/c++11] - -sse2 ................ Use SSE2 instructions [auto] - -sse3/-ssse3/-sse4.1/-sse4.2/-avx/-avx2/-avx512 - Enable use of particular x86 instructions [auto] - Enabled ones are still subject to runtime detection. -mips_dsp/-mips_dspr2 Use MIPS DSP/rev2 instructions [auto] -qreal ........ typedef qreal to the specified type. [double] -- cgit v1.2.1