e_remainder.S 406 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_remainder.S,v 1.11 2011/01/07 16:13:12 kib Exp $")
  8. ENTRY(remainder)
  9. fldl 12(%esp)
  10. fldl 4(%esp)
  11. 1: fprem1
  12. fstsw %ax
  13. sahf
  14. jp 1b
  15. fstp %st(1)
  16. ret
  17. END(remainder)
  18. /* Enable stack protection */
  19. #if defined(__ELF__)
  20. .section .note.GNU-stack,"",%progbits
  21. #endif