Revision be449fca libavcodec/i386/flacdsp_mmx.c

View differences:

libavcodec/i386/flacdsp_mmx.c
28 28
    int n2 = len>>1;
29 29
    x86_reg i = -n2*sizeof(int32_t);
30 30
    x86_reg j =  n2*sizeof(int32_t);
31
    asm volatile(
31
    __asm__ volatile(
32 32
        "movsd   %0,     %%xmm7                \n\t"
33 33
        "movapd  "MANGLE(ff_pd_1)", %%xmm6     \n\t"
34 34
        "movapd  "MANGLE(ff_pd_2)", %%xmm5     \n\t"
......
38 38
        ::"m"(c)
39 39
    );
40 40
#define WELCH(MOVPD, offset)\
41
    asm volatile(\
41
    __asm__ volatile(\
42 42
        "1:                                    \n\t"\
43 43
        "movapd   %%xmm7,  %%xmm1              \n\t"\
44 44
        "mulpd    %%xmm1,  %%xmm1              \n\t"\
......
84 84
    for(j=0; j<lag; j+=2){
85 85
        x86_reg i = -len*sizeof(double);
86 86
        if(j == lag-2) {
87
            asm volatile(
87
            __asm__ volatile(
88 88
                "movsd    "MANGLE(ff_pd_1)", %%xmm0 \n\t"
89 89
                "movsd    "MANGLE(ff_pd_1)", %%xmm1 \n\t"
90 90
                "movsd    "MANGLE(ff_pd_1)", %%xmm2 \n\t"
......
113 113
                :"r"(data1+len), "r"(data1+len-j)
114 114
            );
115 115
        } else {
116
            asm volatile(
116
            __asm__ volatile(
117 117
                "movsd    "MANGLE(ff_pd_1)", %%xmm0 \n\t"
118 118
                "movsd    "MANGLE(ff_pd_1)", %%xmm1 \n\t"
119 119
                "1:                                 \n\t"

Also available in: Unified diff