projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da2f3a
)
correct FPU control word setting bug (Trac #1547)
author
Monty
<xiphmont@xiph.org>
Wed, 8 Jul 2009 06:21:02 +0000
(06:21 +0000)
committer
Monty
<xiphmont@xiph.org>
Wed, 8 Jul 2009 06:21:02 +0000
(06:21 +0000)
svn path=/trunk/vorbis/; revision=16223
lib/os.h
patch
|
blob
|
history
diff --git
a/lib/os.h
b/lib/os.h
index
960a382
..
ebff316
100644
(file)
--- 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"
- "
or
w $62463,%%dx\n\t"
+ "
and
w $62463,%%dx\n\t"
"movw %%dx,%1\n\t"
"fldcw %1\n\t":"=m"(ret):"m"(temp): "dx");
*fpu=ret;