]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extend the machine/ieeefp.h that was inherited from i386 to support
authorpeter <peter@FreeBSD.org>
Tue, 22 Jul 2003 06:44:54 +0000 (06:44 +0000)
committerpeter <peter@FreeBSD.org>
Tue, 22 Jul 2003 06:44:54 +0000 (06:44 +0000)
commit576883ab15b9902dfcdc6865ad0cb986fd4841d0
tree15a259c11bd681c2831a0a4ac56996725b3a6db2
parent323cebdee3cff8e42c4bc074ee5bee878861318e
Extend the machine/ieeefp.h that was inherited from i386 to support
the SSE mxcsr register as well.  Since gcc will intermix SSE2 and x87
FP code, the fpsetround() etc mode had better be the same.

There are hooks to enable these inlines to be instantiated inside libc
for non-gcc or C++ callers. (g++ doesn't like the inlines that tried
to extract an integer and convert it to an enum).
sys/amd64/include/ieeefp.h