From bb75f10e79a81cdbf94cb6c1bdb6faccbbeda19c Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 8 Jul 2009 06:21:02 +0000 Subject: [PATCH] correct FPU control word setting bug (Trac #1547) svn path=/trunk/vorbis/; revision=16223 --- lib/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/os.h b/lib/os.h index 960a382..ebff316 100644 --- a/lib/os.h +++ b/lib/os.h @@ -97,7 +97,7 @@ static inline void vorbis_fpu_setround(vorbis_fpu_control *fpu){ 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; -- 2.7.4