Revision be449fca libavcodec/i386/cpuid.c

View differences:

libavcodec/i386/cpuid.c
28 28

  
29 29
/* ebx saving is necessary for PIC. gcc seems unable to see it alone */
30 30
#define cpuid(index,eax,ebx,ecx,edx)\
31
    asm volatile\
31
    __asm__ volatile\
32 32
        ("mov %%"REG_b", %%"REG_S"\n\t"\
33 33
         "cpuid\n\t"\
34 34
         "xchg %%"REG_b", %%"REG_S\
......
44 44
    int max_std_level, max_ext_level, std_caps=0, ext_caps=0;
45 45
    x86_reg a, c;
46 46

  
47
    asm volatile (
47
    __asm__ volatile (
48 48
        /* See if CPUID instruction is supported ... */
49 49
        /* ... Get copies of EFLAGS into eax and ecx */
50 50
        "pushf\n\t"

Also available in: Unified diff