[xiph-commits] r15986 - branches/theora-thusnelda/lib/enc/x86
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Thu May 7 12:38:25 PDT 2009
Author: tterribe
Date: 2009-05-07 12:38:25 -0700 (Thu, 07 May 2009)
New Revision: 15986
Modified:
branches/theora-thusnelda/lib/enc/x86/mmxencfrag.c
Log:
Fix the constraints in oc_enc_frag_sub_mmx() (otherwise gcc will reload the
registers when optimizations are disabled).
Modified: branches/theora-thusnelda/lib/enc/x86/mmxencfrag.c
===================================================================
--- branches/theora-thusnelda/lib/enc/x86/mmxencfrag.c 2009-05-07 19:37:05 UTC (rev 15985)
+++ branches/theora-thusnelda/lib/enc/x86/mmxencfrag.c 2009-05-07 19:38:25 UTC (rev 15986)
@@ -200,9 +200,8 @@
"movq %%mm4,0x10(%[residue])\n\t"
"movq %%mm1,0x18(%[residue])\n\t"
"lea 0x20(%[residue]),%[residue]\n\t"
- :
- :[residue]"r"(_residue),[src]"r"(_src),[ref]"r"(_ref),
- [ystride]"r"((ptrdiff_t)_ystride)
+ :[residue]"+r"(_residue),[src]"+r"(_src),[ref]"+r"(_ref)
+ :[ystride]"r"((ptrdiff_t)_ystride)
:"memory"
);
}
More information about the commits
mailing list