Revision fb16b7e7 libavcodec/dsputil.h

View differences:

libavcodec/dsputil.h
75 75

  
76 76
static inline void emms(void)
77 77
{
78
	asm volatile ("emms;");
78
    __asm __volatile ("emms;":::"memory");
79
}
80

  
81
#define emms_c() \
82
{\
83
    if (mm_flags & MM_MMX)\
84
        emms();\
79 85
}
80 86

  
81 87
#define __align8 __attribute__ ((aligned (8)))
......
84 90

  
85 91
#else
86 92

  
93
#define emms_c()
94

  
87 95
#define __align8
88 96

  
89 97
#endif

Also available in: Unified diff