[MPlayer-cvslog] r23157 - trunk/libswscale/rgb2rgb_template.c

diego subversion at mplayerhq.hu
Sat Apr 28 13:41:12 CEST 2007


Author: diego
Date: Sat Apr 28 13:41:11 2007
New Revision: 23157

Log:
cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.


Modified:
   trunk/libswscale/rgb2rgb_template.c

Modified: trunk/libswscale/rgb2rgb_template.c
==============================================================================
--- trunk/libswscale/rgb2rgb_template.c	(original)
+++ trunk/libswscale/rgb2rgb_template.c	Sat Apr 28 13:41:11 2007
@@ -1372,52 +1372,52 @@ static inline void RENAME(rgb32tobgr32)(
 	uint8_t *s = (uint8_t *) src-idx, *d = dst-idx;
 #ifdef HAVE_MMX
 	__asm __volatile(
-		"	test %0, %0			\n"
-		"	jns 2f				\n"
-		"	"PREFETCH" (%1, %0)		\n"
-		"	movq %3, %%mm7			\n"
-		"	pxor %4, %%mm7			\n"
-		"	movq %%mm7, %%mm6		\n"
-		"	pxor %5, %%mm7			\n"
-			ASMALIGN(4)
-		"1:					\n"
-		"	"PREFETCH" 32(%1, %0)		\n"
-		"	movq (%1, %0), %%mm0		\n"
-		"	movq 8(%1, %0), %%mm1		\n"
+		"test %0, %0			\n\t"
+		"jns 2f				\n\t"
+		PREFETCH" (%1, %0)		\n\t"
+		"movq %3, %%mm7			\n\t"
+		"pxor %4, %%mm7			\n\t"
+		"movq %%mm7, %%mm6		\n\t"
+		"pxor %5, %%mm7			\n\t"
+		ASMALIGN(4)
+		"1:				\n\t"
+		PREFETCH" 32(%1, %0)		\n\t"
+		"movq (%1, %0), %%mm0		\n\t"
+		"movq 8(%1, %0), %%mm1		\n\t"
 # ifdef HAVE_MMX2
-		"	pshufw $177, %%mm0, %%mm3	\n"
-		"	pshufw $177, %%mm1, %%mm5	\n"
-		"	pand %%mm7, %%mm0		\n"
-		"	pand %%mm6, %%mm3		\n"
-		"	pand %%mm7, %%mm1		\n"
-		"	pand %%mm6, %%mm5		\n"
-		"	por %%mm3, %%mm0		\n"
-		"	por %%mm5, %%mm1		\n"
+		"pshufw $177, %%mm0, %%mm3	\n\t"
+		"pshufw $177, %%mm1, %%mm5	\n\t"
+		"pand %%mm7, %%mm0		\n\t"
+		"pand %%mm6, %%mm3		\n\t"
+		"pand %%mm7, %%mm1		\n\t"
+		"pand %%mm6, %%mm5		\n\t"
+		"por %%mm3, %%mm0		\n\t"
+		"por %%mm5, %%mm1		\n\t"
 # else
-		"	movq %%mm0, %%mm2		\n"
-		"	movq %%mm1, %%mm4		\n"
-		"	pand %%mm7, %%mm0		\n"
-		"	pand %%mm6, %%mm2		\n"
-		"	pand %%mm7, %%mm1		\n"
-		"	pand %%mm6, %%mm4		\n"
-		"	movq %%mm2, %%mm3		\n"
-		"	movq %%mm4, %%mm5		\n"
-		"	pslld $16, %%mm2		\n"
-		"	psrld $16, %%mm3		\n"
-		"	pslld $16, %%mm4		\n"
-		"	psrld $16, %%mm5		\n"
-		"	por %%mm2, %%mm0		\n"
-		"	por %%mm4, %%mm1		\n"
-		"	por %%mm3, %%mm0		\n"
-		"	por %%mm5, %%mm1		\n"
+		"movq %%mm0, %%mm2		\n\t"
+		"movq %%mm1, %%mm4		\n\t"
+		"pand %%mm7, %%mm0		\n\t"
+		"pand %%mm6, %%mm2		\n\t"
+		"pand %%mm7, %%mm1		\n\t"
+		"pand %%mm6, %%mm4		\n\t"
+		"movq %%mm2, %%mm3		\n\t"
+		"movq %%mm4, %%mm5		\n\t"
+		"pslld $16, %%mm2		\n\t"
+		"psrld $16, %%mm3		\n\t"
+		"pslld $16, %%mm4		\n\t"
+		"psrld $16, %%mm5		\n\t"
+		"por %%mm2, %%mm0		\n\t"
+		"por %%mm4, %%mm1		\n\t"
+		"por %%mm3, %%mm0		\n\t"
+		"por %%mm5, %%mm1		\n\t"
 # endif
-		"	"MOVNTQ" %%mm0, (%2, %0)	\n"
-		"	"MOVNTQ" %%mm1, 8(%2, %0)	\n"
-		"	add $16, %0			\n"
-		"	js 1b				\n"
-		"	"SFENCE"			\n"
-		"	"EMMS"				\n"
-		"2:					\n"
+		MOVNTQ" %%mm0, (%2, %0)		\n\t"
+		MOVNTQ" %%mm1, 8(%2, %0)	\n\t"
+		"add $16, %0			\n\t"
+		"js 1b				\n\t"
+		SFENCE"				\n\t"
+		EMMS"				\n\t"
+		"2:				\n\t"
 		: "+&r"(idx)
 		: "r" (s), "r" (d), "m" (mask32b), "m" (mask32r), "m" (mmx_one)
 		: "memory");



More information about the MPlayer-cvslog mailing list