2 * Written by Frank van der Linden at Wasabi Systems for NetBSD.
5 * $NetBSD: fpsetmask.S,v 1.3 2002/06/12 19:17:22 fvdl Exp $
6 * $DragonFly: src/lib/libc/amd64/gen/fpsetmask.S,v 1.1 2006/07/27 00:46:57 corecode Exp $
9 #include <machine/asm.h>
12 * XXX set both the x87 control word and the SSE mxcsr register.
13 * Applications should only set exception and round flags
14 * via the fp*() interface, otherwise the status words
15 * will get our of sync.
19 WEAK_ALIAS(fpsetmask, _fpsetmask)