avutil/x86/intmath: add missing check for inline assembly
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
6b9fdf7f4f
commit
93e7b7fb34
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#if AV_GCC_VERSION_AT_LEAST(5,1)
|
#if AV_GCC_VERSION_AT_LEAST(5,1)
|
||||||
#define av_mod_uintp2 __builtin_ia32_bzhi_si
|
#define av_mod_uintp2 __builtin_ia32_bzhi_si
|
||||||
#else
|
#elif HAVE_INLINE_ASM
|
||||||
/* GCC releases before 5.1.0 have a broken bzhi builtin, so for those we
|
/* GCC releases before 5.1.0 have a broken bzhi builtin, so for those we
|
||||||
* implement it using inline assembly
|
* implement it using inline assembly
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user