Revision 770c410f libavcodec/x86/fft_sse.c

View differences:

libavcodec/x86/fft_sse.c
23 23
#include "libavcodec/dsputil.h"
24 24
#include "fft.h"
25 25

  
26
DECLARE_ALIGNED(16, static const int, m1m1m1m1)[4] =
26
DECLARE_ASM_CONST(16, int, ff_m1m1m1m1)[4] =
27 27
    { 1 << 31, 1 << 31, 1 << 31, 1 << 31 };
28 28

  
29 29
void ff_fft_dispatch_sse(FFTComplex *z, int nbits);
......
82 82
    j = -n;
83 83
    k = n-16;
84 84
    __asm__ volatile(
85
        "movaps %4, %%xmm7 \n"
85
        "movaps "MANGLE(ff_m1m1m1m1)", %%xmm7 \n"
86 86
        "1: \n"
87 87
        "movaps       (%2,%1), %%xmm0 \n"
88 88
        "movaps       (%3,%0), %%xmm1 \n"
......
95 95
        "add $16, %0 \n"
96 96
        "jl 1b \n"
97 97
        :"+r"(j), "+r"(k)
98
        :"r"(output+n4), "r"(output+n4*3),
99
         "m"(*m1m1m1m1)
98
        :"r"(output+n4), "r"(output+n4*3)
100 99
        XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm7")
101 100
    );
102 101
}

Also available in: Unified diff