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,
# if defined (HAVE_MMX_INTRINSICS)
_mm_empty();
# else
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
# endif
#endif
}
......@@ -589,8 +588,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src,
# if defined (HAVE_MMX_INTRINSICS)
_mm_empty();
# else
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
# endif
#endif
}
......
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
#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,
}
#if defined (MODULE_NAME_IS_i420_yuy2_mmx)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
#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,
}
#if defined (MODULE_NAME_IS_i422_yuy2_mmx)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#endif
}
......@@ -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)
/* re-enable FPU registers */
__asm__ __volatile__ ("emms" ::: "mm0", "mm1", "mm2", "mm3",
"mm4", "mm5", "mm6", "mm7" );
__asm__ __volatile__ ("emms");
#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