s_floorl.S (192760) | s_floorl.S (217108) |
---|---|
1/* 2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>. 3 * Public domain. 4 */ 5 6#include <machine/asm.h> | 1/* 2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>. 3 * Public domain. 4 */ 5 6#include <machine/asm.h> |
7__FBSDID("$FreeBSD: head/lib/msun/i387/s_floorl.S 192760 2009-05-25 14:37:10Z attilio $") | 7__FBSDID("$FreeBSD: head/lib/msun/i387/s_floorl.S 217108 2011-01-07 16:13:12Z kib $") |
8 9ENTRY(floorl) 10 pushl %ebp 11 movl %esp,%ebp 12 subl $8,%esp 13 14 fstcw -4(%ebp) /* store fpu control word */ 15 movw -4(%ebp),%dx --- 5 unchanged lines hidden (view full) --- 21 fldt 8(%ebp) /* round */ 22 frndint 23 24 fldcw -4(%ebp) /* restore original control word */ 25 26 leave 27 ret 28END(floorl) | 8 9ENTRY(floorl) 10 pushl %ebp 11 movl %esp,%ebp 12 subl $8,%esp 13 14 fstcw -4(%ebp) /* store fpu control word */ 15 movw -4(%ebp),%dx --- 5 unchanged lines hidden (view full) --- 21 fldt 8(%ebp) /* round */ 22 frndint 23 24 fldcw -4(%ebp) /* restore original control word */ 25 26 leave 27 ret 28END(floorl) |
29 30 .section .note.GNU-stack,"",%progbits |
|