s_copysignl.S 467 B

123456789101112131415161718192021222324
  1. /*
  2. * Based on code written by J.T. Conklin <[email protected]>.
  3. * Public domain.
  4. */
  5. #include <i387/bsd_asm.h>
  6. //__FBSDID("$FreeBSD: src/lib/msun/i387/s_copysignl.S,v 1.3 2011/01/07 16:13:12 kib Exp $")
  7. ENTRY(copysignl)
  8. movl 24(%esp),%edx
  9. andl $0x8000,%edx
  10. movl 12(%esp),%eax
  11. andl $0x7fff,%eax
  12. orl %edx,%eax
  13. movl %eax,12(%esp)
  14. fldt 4(%esp)
  15. ret
  16. END(copysignl)
  17. /* Enable stack protection */
  18. #if defined(__ELF__)
  19. .section .note.GNU-stack,"",%progbits
  20. #endif