s_finite.S 446 B

1234567891011121314151617181920212223
  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/s_finite.S,v 1.10 2011/01/07 16:13:12 kib Exp $")
  8. ENTRY(finite)
  9. movl 8(%esp),%eax
  10. andl $0x7ff00000, %eax
  11. cmpl $0x7ff00000, %eax
  12. setneb %al
  13. andl $0x000000ff, %eax
  14. ret
  15. END(finite)
  16. /* Enable stack protection */
  17. #if defined(__linux__) && defined(__ELF__)
  18. .section .note.GNU-stack,"",%progbits
  19. #endif