[Mplayer-cvslog] CVS: main/libvo osd_template.c,1.17,1.18
Michael Niedermayer
michael at mplayer.dev.hu
Sat Mar 16 18:12:22 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv30087
Modified Files:
osd_template.c
Log Message:
workaround lack of -fomit-frame-pointer
Index: osd_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/osd_template.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- osd_template.c 19 Jan 2002 04:44:49 -0000 1.17
+++ osd_template.c 16 Mar 2002 17:12:19 -0000 1.18
@@ -218,30 +218,30 @@
asm volatile(
"movzbl (%0), %%ecx\n\t"
"movzbl 1(%0), %%eax\n\t"
- "movzbl 2(%0), %%edx\n\t"
"imull %1, %%ecx\n\t"
"imull %1, %%eax\n\t"
- "imull %1, %%edx\n\t"
- "addl %2, %%ecx\n\t"
+ "addl %2, %%ecx\n\t"
"addl %2, %%eax\n\t"
- "addl %2, %%edx\n\t"
"movb %%ch, (%0)\n\t"
"movb %%ah, 1(%0)\n\t"
- "movb %%dh, 2(%0)\n\t"
-
+
+ "movzbl 2(%0), %%eax\n\t"
+ "imull %1, %%eax\n\t"
+ "addl %2, %%eax\n\t"
+ "movb %%ah, 2(%0)\n\t"
:
:"r" (dst),
"r" ((unsigned)srca[x]),
"r" (((unsigned)src[x])<<8)
- :"%eax", "%ecx", "%edx"
+ :"%eax", "%ecx"
);
}
dst += 3;
}
-#endif /* HAVE_MMX */
+#endif /* !HAVE_MMX */
#else /*non x86 arch*/
for(x=0;x<w;x++){
if(srca[x]){
More information about the MPlayer-cvslog
mailing list