e_remainderl.S 393 B

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