Revision 845e37e7 libswscale/x86/yuv2rgb_template.c

View differences:

libswscale/x86/yuv2rgb_template.c
168 168
        : "r" (pu - index), "r" (pv - index), "r"(&c->redDither), "r" (py - 2*index) \
169 169
        ); \
170 170
    } \
171
    __asm__ volatile (EMMS); \
171
    __asm__ volatile (SFENCE"\n\t"EMMS); \
172 172
    return srcSliceH; \
173 173

  
174 174
#define YUV2RGB_OPERANDS_ALPHA \
......
176 176
        : "r" (pu - index), "r" (pv - index), "r"(&c->redDither), "r" (py - 2*index), "r" (pa - 2*index) \
177 177
        ); \
178 178
    } \
179
    __asm__ volatile (EMMS); \
179
    __asm__ volatile (SFENCE"\n\t"EMMS); \
180 180
    return srcSliceH; \
181 181

  
182 182
static inline int RENAME(yuv420_rgb16)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,

Also available in: Unified diff