Revision 4a128945 libavcodec/x86/lpc_mmx.c

View differences:

libavcodec/x86/lpc_mmx.c
89 89
                "movsd    "MANGLE(ff_pd_1)", %%xmm1 \n\t"
90 90
                "movsd    "MANGLE(ff_pd_1)", %%xmm2 \n\t"
91 91
                "1:                                 \n\t"
92
                "movapd   (%4,%0), %%xmm3           \n\t"
93
                "movupd -8(%5,%0), %%xmm4           \n\t"
94
                "movapd   (%5,%0), %%xmm5           \n\t"
92
                "movapd   (%2,%0), %%xmm3           \n\t"
93
                "movupd -8(%3,%0), %%xmm4           \n\t"
94
                "movapd   (%3,%0), %%xmm5           \n\t"
95 95
                "mulpd     %%xmm3, %%xmm4           \n\t"
96 96
                "mulpd     %%xmm3, %%xmm5           \n\t"
97
                "mulpd -16(%5,%0), %%xmm3           \n\t"
97
                "mulpd -16(%3,%0), %%xmm3           \n\t"
98 98
                "addpd     %%xmm4, %%xmm1           \n\t"
99 99
                "addpd     %%xmm5, %%xmm0           \n\t"
100 100
                "addpd     %%xmm3, %%xmm2           \n\t"
......
106 106
                "addsd     %%xmm3, %%xmm0           \n\t"
107 107
                "addsd     %%xmm4, %%xmm1           \n\t"
108 108
                "addsd     %%xmm5, %%xmm2           \n\t"
109
                "movsd     %%xmm0, %1               \n\t"
110
                "movsd     %%xmm1, %2               \n\t"
111
                "movsd     %%xmm2, %3               \n\t"
112
                :"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1]), "=m"(autoc[j+2])
113
                :"r"(data1+len), "r"(data1+len-j)
109
                "movsd     %%xmm0,   (%1)           \n\t"
110
                "movsd     %%xmm1,  8(%1)           \n\t"
111
                "movsd     %%xmm2, 16(%1)           \n\t"
112
                :"+&r"(i)
113
                :"r"(autoc+j), "r"(data1+len), "r"(data1+len-j)
114
                :"memory"
114 115
            );
115 116
        } else {
116 117
            __asm__ volatile(

Also available in: Unified diff