12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #include <amd64/bsd_asm.h>
-
- ENTRY(sqrtl)
- #ifndef _WIN64
- fldt 8(%rsp)
- fsqrt
- #else
- fldt (%rdx)
- fsqrt
- mov %rcx,%rax
- movq $0x0,0x8(%rcx)
- fstpt (%rcx)
- #endif
- ret
- #if defined(__linux__) && defined(__ELF__)
- .section .note.GNU-stack,"",%progbits
- #endif
|