1 /* 2 * Written by J.T. Conklin, Apr 4, 1995 3 * Public domain. 4 */ 5 6 #include <machine/asm.h> 7 8 ENTRY(fpgetround) 9 subl $4,%esp 10 fnstcw (%esp) 11 movw (%esp),%ax 12 shrl $10,%eax 13 andl $3,%eax 14 addl $4,%esp 15 ret 16
Indexes created Thu Oct 02 01:09:59 GMT 2025