diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c index 2caac2fb2361c7e12491a477f8d650fd07c4d8dc..14d0fe10c8e2238b323eae4f19be2310b21d38e8 100644 --- a/libavutil/x86/cpu.c +++ b/libavutil/x86/cpu.c @@ -36,7 +36,7 @@ : "0" (index)); #define xgetbv(index,eax,edx) \ - __asm__ ("xgetbv" : "=a"(eax), "=d"(edx) : "c" (index)) + __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index)) /* Function to test if multimedia instructions are supported... */ int ff_get_cpu_flags_x86(void)