Commit a3913955 authored by Damien Fouilleul's avatar Damien Fouilleul

MMX chromas: removed MMX registers from clobbered list as it causes errors on...

MMX chromas: removed MMX registers from clobbered list as it causes errors on some version of GCC not properly configured for MMX (Gentoo ?)
parent 6747f4f8
...@@ -417,8 +417,7 @@ void E_(I420_RGB16)( vout_thread_t *p_vout, picture_t *p_src, ...@@ -417,8 +417,7 @@ void E_(I420_RGB16)( vout_thread_t *p_vout, picture_t *p_src,
# if defined (HAVE_MMX_INTRINSICS) # if defined (HAVE_MMX_INTRINSICS)
_mm_empty(); _mm_empty();
# else # else
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
# endif # endif
#endif #endif
} }
...@@ -589,8 +588,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src, ...@@ -589,8 +588,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src,
# if defined (HAVE_MMX_INTRINSICS) # if defined (HAVE_MMX_INTRINSICS)
_mm_empty(); _mm_empty();
# else # else
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
# endif # endif
#endif #endif
} }
......
...@@ -289,8 +289,7 @@ static void I420_YUY2( vout_thread_t *p_vout, picture_t *p_source, ...@@ -289,8 +289,7 @@ static void I420_YUY2( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i420_yuy2_mmx) #if defined (MODULE_NAME_IS_i420_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
#if defined (MODULE_NAME_IS_i420_yuy2_altivec) #if defined (MODULE_NAME_IS_i420_yuy2_altivec)
...@@ -348,8 +347,7 @@ static void I420_YVYU( vout_thread_t *p_vout, picture_t *p_source, ...@@ -348,8 +347,7 @@ static void I420_YVYU( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i420_yuy2_mmx) #if defined (MODULE_NAME_IS_i420_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
...@@ -406,8 +404,7 @@ static void I420_UYVY( vout_thread_t *p_vout, picture_t *p_source, ...@@ -406,8 +404,7 @@ static void I420_UYVY( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i420_yuy2_mmx) #if defined (MODULE_NAME_IS_i420_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
...@@ -474,8 +471,7 @@ static void I420_cyuv( vout_thread_t *p_vout, picture_t *p_source, ...@@ -474,8 +471,7 @@ static void I420_cyuv( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i420_yuy2_mmx) #if defined (MODULE_NAME_IS_i420_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
#endif // !defined (MODULE_NAME_IS_i420_yuy2_altivec) #endif // !defined (MODULE_NAME_IS_i420_yuy2_altivec)
......
...@@ -171,8 +171,7 @@ static void I422_YUY2( vout_thread_t *p_vout, picture_t *p_source, ...@@ -171,8 +171,7 @@ static void I422_YUY2( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i422_yuy2_mmx) #if defined (MODULE_NAME_IS_i422_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
...@@ -211,8 +210,7 @@ static void I422_YVYU( vout_thread_t *p_vout, picture_t *p_source, ...@@ -211,8 +210,7 @@ static void I422_YVYU( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i422_yuy2_mmx) #if defined (MODULE_NAME_IS_i422_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
...@@ -251,8 +249,7 @@ static void I422_UYVY( vout_thread_t *p_vout, picture_t *p_source, ...@@ -251,8 +249,7 @@ static void I422_UYVY( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i422_yuy2_mmx) #if defined (MODULE_NAME_IS_i422_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
...@@ -300,8 +297,7 @@ static void I422_cyuv( vout_thread_t *p_vout, picture_t *p_source, ...@@ -300,8 +297,7 @@ static void I422_cyuv( vout_thread_t *p_vout, picture_t *p_source,
} }
#if defined (MODULE_NAME_IS_i422_yuy2_mmx) #if defined (MODULE_NAME_IS_i422_yuy2_mmx)
/* re-enable FPU registers */ /* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3", __asm__ __volatile__ ("emms");
"mm4", "mm5", "mm6", "mm7" );
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment