Revision be449fca libavcodec/ppc/check_altivec.c

View differences:

libavcodec/ppc/check_altivec.c
66 66
#elif defined(RUNTIME_CPUDETECT)
67 67
    int proc_ver;
68 68
    // Support of mfspr PVR emulation added in Linux 2.6.17.
69
    asm volatile("mfspr %0, 287" : "=r" (proc_ver));
69
    __asm__ volatile("mfspr %0, 287" : "=r" (proc_ver));
70 70
    proc_ver >>= 16;
71 71
    if (proc_ver  & 0x8000 ||
72 72
        proc_ver == 0x000c ||

Also available in: Unified diff