[FFmpeg-devel] [PATCH 2/2] Use gcc/clang builtins for av_sat_(add|sub)_64_c if available.

Dale Curtis dalecurtis at chromium.org
Fri May 1 22:50:23 EEST 2020


On Fri, May 1, 2020 at 12:37 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> >
> > So ICC on Linux defines __GNUC__ >= 5 yet doesn't support these builtins?
>
> No, but yes, this is the effect.
>

Does this patch work instead on the ICC compiler? GCC 4.2+ have support for
__has_builtin() which shouldn't be masqueraded by the ICC.

- dale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sat_math_builtin_v3.patch
Type: application/x-patch
Size: 1671 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200501/ff15cab8/attachment.bin>


More information about the ffmpeg-devel mailing list