e_remainderf.S 481 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Written by J.T. Conklin <[email protected]>.
  3. * Public domain.
  4. */
  5. #include <i387/bsd_asm.h>
  6. //__FBSDID("$FreeBSD: src/lib/msun/i387/e_remainderf.S,v 1.4 2011/01/07 16:13:12 kib Exp $");
  7. /* RCSID("$NetBSD: e_remainderf.S,v 1.2 1995/05/08 23:49:47 jtc Exp $") */
  8. ENTRY(remainderf)
  9. flds 8(%esp)
  10. flds 4(%esp)
  11. 1: fprem1
  12. fstsw %ax
  13. sahf
  14. jp 1b
  15. fstp %st(1)
  16. ret
  17. END(remainderf)
  18. /* Enable stack protection */
  19. #if defined(__ELF__)
  20. .section .note.GNU-stack,"",%progbits
  21. #endif