PERFORCE change 34801 for review
Peter Wemm
peter at FreeBSD.org
Mon Jul 21 17:54:59 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=34801
Change 34801 by peter at peter_hammer on 2003/07/21 17:54:05
make this actually compile. it seems to actually work too. bonus!
Affected files ...
.. //depot/projects/hammer/sys/amd64/include/ieeefp.h#3 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/include/ieeefp.h#3 (text+ko) ====
@@ -213,13 +213,13 @@
__fnstcw(&_cw);
_p = (~_cw) & FP_MSKS_FLD;
- _cw ~= ~FP_MSKS_FLD;
+ _cw &= ~FP_MSKS_FLD;
_cw |= (~_m) & FP_MSKS_FLD;
__fldcw(&_cw);
- __stmxcsr(&_mxcxr);
+ __stmxcsr(&_mxcsr);
/* XXX should clear non-ieee SSE_DAZ_FLD and SSE_FZ_FLD */
_mxcsr &= ~SSE_MSKS_FLD;
- _mxcsr |= ((~_m) << SSE_MSKS_OFF) & SSE_MSKS_FLD);
+ _mxcsr |= ((~_m) << SSE_MSKS_OFF) & SSE_MSKS_FLD;
__ldmxcsr(&_mxcsr);
return (_p);
}
More information about the p4-projects
mailing list