[xiph-commits] r16223 - trunk/vorbis/lib

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Jul 7 23:21:02 PDT 2009


Author: xiphmont
Date: 2009-07-07 23:21:02 -0700 (Tue, 07 Jul 2009)
New Revision: 16223

Modified:
   trunk/vorbis/lib/os.h
Log:
correct FPU control word setting bug (Trac #1547)



Modified: trunk/vorbis/lib/os.h
===================================================================
--- trunk/vorbis/lib/os.h	2009-07-08 05:37:18 UTC (rev 16222)
+++ trunk/vorbis/lib/os.h	2009-07-08 06:21:02 UTC (rev 16223)
@@ -97,7 +97,7 @@
   ogg_int16_t temp;
   __asm__ __volatile__("fnstcw %0\n\t"
           "movw %0,%%dx\n\t"
-          "orw $62463,%%dx\n\t"
+          "andw $62463,%%dx\n\t"
           "movw %%dx,%1\n\t"
           "fldcw %1\n\t":"=m"(ret):"m"(temp): "dx");
   *fpu=ret;



More information about the commits mailing list