Op ma 26 sep. 2022 om 07:26 schreef Martijn van Beurden <mva...@gmail.com>:

> Op zo 25 sep. 2022 om 23:55 schreef Christian Weisgerber <
> na...@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.
>

I've opened a PR with a possible fix here:
https://github.com/xiph/flac/pull/469

Please comment.
_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to