[flac-dev] SSE intrinsics disappearing from Clang 14+

Christian Weisgerber naddy at mips.inka.de
Sun Sep 25 21:52:20 UTC 2022

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...
... is to check for _mm* intrinsics instead of __builtin_*.

Christian "naddy" Weisgerber                          naddy at mips.inka.de

More information about the flac-dev mailing list