SSE intrinsics disappearing from Clang 14+

Christian Weisgerber <[email protected]> Sun, 25 Sep 2022 23:52:20 +0200
Newsgroups gmane.comp.audio.compression.flac.devel
Message-ID <[email protected]>
The checks for SSE*/AVX* intrinsics in include/private/cpu.h are
suffering attrition with Clang 14 and newer.

Clang 13: all are defined on x86: SSE, SSE2, SSSE3, SSE4.1, AVX, AVX2, FMA.
Clang 14: SSSE3 and AVX disappear.
Clang 15: only SSE and SSE2 are left, I'm told.

The suggestion at...
https://lists.freebsd.org/archives/freebsd-current/2022-September/002633.html
... is to check for _mm* intrinsics instead of __builtin_*.

-- 
Christian "naddy" Weisgerber                          [email protected]