Revision f1f79211

View differences:

libavutil/x86/cpu.c
36 36
         : "0" (index));
37 37

  
38 38
#define xgetbv(index,eax,edx)                                   \
39
    __asm__ ("xgetbv" : "=a"(eax), "=d"(edx) : "c" (index))
39
    __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index))
40 40

  
41 41
/* Function to test if multimedia instructions are supported...  */
42 42
int ff_get_cpu_flags_x86(void)

Also available in: Unified diff