[flac-dev] SSE intrinsics disappearing from Clang 14+
Martijn van Beurden
mvanb1 at gmail.com
Mon Sep 26 05:26:44 UTC 2022
Op zo 25 sep. 2022 om 23:55 schreef Christian Weisgerber <naddy at mips.inka.de
>:
> 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_*.
>
Maybe at this point it is reasonable to just start assuming support? That
would mean dropping support (with default settings that is) on x86_64 for
all Clang that do not supply AVX/AVX2/FMA intrinsics? That is how it works
for GCC currently, intrinsics are supported for GCC 4.9 or later.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/flac-dev/attachments/20220926/2c44bd04/attachment.htm>
More information about the flac-dev
mailing list