ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../sysdeps/i386/fpu/e_sqrt.S

24 lines
383 B
ArmAsm
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
/*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
ENTRY(__ieee754_sqrt)
fldl 4(%esp)
subl $8, %esp
cfi_adjust_cfa_offset (8)
fstcw 4(%esp)
movl $0xfeff, %edx
andl 4(%esp), %edx
movl %edx, (%esp)
fldcw (%esp)
fsqrt
fldcw 4(%esp)
addl $8, %esp
cfi_adjust_cfa_offset (-8)
ret
END (__ieee754_sqrt)
libm_alias_finite (__ieee754_sqrt, __sqrt)