[xiph-commits] r17734 - trunk/theora/lib/x86_vc

cristianadam at svn.xiph.org cristianadam at svn.xiph.org
Tue Dec 7 03:17:40 PST 2010


Author: cristianadam
Date: 2010-12-07 03:17:40 -0800 (Tue, 07 Dec 2010)
New Revision: 17734

Modified:
   trunk/theora/lib/x86_vc/mmxencfrag.c
Log:
Fixed one GCC to Visual C asm instruction call. Now the optimized version produces the same output as the C version.

Modified: trunk/theora/lib/x86_vc/mmxencfrag.c
===================================================================
--- trunk/theora/lib/x86_vc/mmxencfrag.c	2010-12-07 11:03:19 UTC (rev 17733)
+++ trunk/theora/lib/x86_vc/mmxencfrag.c	2010-12-07 11:17:40 UTC (rev 17734)
@@ -788,7 +788,7 @@
     because the input to the INTRA transform was not a difference).*/
     movzx DC,DC_WORD
     add RET,RET
-    sub DC,RET
+    sub RET, DC
     movq mm4,mm0
     punpckhdq mm0,mm0
     paddd mm4,mm0



More information about the commits mailing list