[FFmpeg-devel] [PATCH] avutil/intmath: use bzhi gcc builtin in av_mod_uintp2()

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jun 26 21:56:55 CEST 2015

On Friday 26 June 2015 09:52:31 pm James Almer wrote:

> +#define av_mod_uintp2 __builtin_ia32_bzhi_si

Since there are compilers != gcc that define GCC 
(for example icc), this needs a configure check imo.

What is the advantage over the inline version?

Carl Eugen

More information about the ffmpeg-devel mailing list