Date: Mon, 21 Jul 2003 17:54:56 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 34801 for review Message-ID: <200307220054.h6M0suHi023944@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=34801 Change 34801 by peter@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307220054.h6M0suHi023944>