Fixed one GCC to Visual C asm instruction call. Now the optimized version produces...
authorCristian Adam <cristianadam@xiph.org>
Tue, 7 Dec 2010 11:17:40 +0000 (11:17 +0000)
committerCristian Adam <cristianadam@xiph.org>
Tue, 7 Dec 2010 11:17:40 +0000 (11:17 +0000)
svn path=/trunk/theora/; revision=17734

lib/x86_vc/mmxencfrag.c

index 492c8f2..8843127 100644 (file)
@@ -788,7 +788,7 @@ unsigned oc_enc_frag_intra_satd_mmxext(unsigned *_dc,const unsigned char *_src,
     because the input to the INTRA transform was not a difference).*/\r
     movzx DC,DC_WORD\r
     add RET,RET\r
-    sub DC,RET\r
+    sub RET, DC\r
     movq mm4,mm0\r
     punpckhdq mm0,mm0\r
     paddd mm4,mm0\r