[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-cvslog
Subject: [xine-cvs] CVS: xine-lib/src/libffmpeg/libavcodec/i386
From: Miguel Freitas <miguelfreitas () users ! sourceforge ! net>
Date: 2006-08-13 18:36:53
Message-ID: E1GCKpR-0004Fv-Jn () sc8-pr-cvs10 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/xine/xine-lib/src/libffmpeg/libavcodec/i386
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16327/src/libffmpeg/libavcodec/i386
Modified Files:
dsputil_mmx.c
Log Message:
patch to fix compilation with gcc 4.0 and -fPIC
Index: dsputil_mmx.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libffmpeg/libavcodec/i386/dsputil_mmx.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- dsputil_mmx.c 2 Aug 2006 07:02:41 -0000 1.30
+++ dsputil_mmx.c 13 Aug 2006 18:36:51 -0000 1.31
@@ -2489,33 +2489,38 @@
"pmullw %%mm5, %%mm2 \n\t" // (s-dx)*dy
"pmullw %%mm4, %%mm1 \n\t" // dx*(s-dy)
- "movd %4, %%mm5 \n\t"
- "movd %3, %%mm4 \n\t"
+ "movd %3, %%mm5 \n\t"
+ "movd %2, %%mm4 \n\t"
"punpcklbw %%mm7, %%mm5 \n\t"
"punpcklbw %%mm7, %%mm4 \n\t"
"pmullw %%mm5, %%mm3 \n\t" // src[1,1] * dx*dy
"pmullw %%mm4, %%mm2 \n\t" // src[0,1] * (s-dx)*dy
- "movd %2, %%mm5 \n\t"
- "movd %1, %%mm4 \n\t"
+ "movd %1, %%mm5 \n\t"
+ "movd %0, %%mm4 \n\t"
"punpcklbw %%mm7, %%mm5 \n\t"
"punpcklbw %%mm7, %%mm4 \n\t"
"pmullw %%mm5, %%mm1 \n\t" // src[1,0] * dx*(s-dy)
"pmullw %%mm4, %%mm0 \n\t" // src[0,0] * (s-dx)*(s-dy)
- "paddw %5, %%mm1 \n\t"
+ "paddw %4, %%mm1 \n\t"
"paddw %%mm3, %%mm2 \n\t"
"paddw %%mm1, %%mm0 \n\t"
"paddw %%mm2, %%mm0 \n\t"
- "psrlw %6, %%mm0 \n\t"
+ "psrlw %5, %%mm0 \n\t"
"packuswb %%mm0, %%mm0 \n\t"
- "movd %%mm0, %0 \n\t"
- : "=m"(dst[x+y*stride])
+ :
: "m"(src[0]), "m"(src[1]),
"m"(src[stride]), "m"(src[stride+1]),
"m"(*r4), "m"(shift2)
);
+
+ asm volatile(
+ "movd %%mm0, %0 \n\t"
+ : "=m"(dst[x+y*stride])
+ :
+ );
src += stride;
}
src += 4-h*stride;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic