mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
24 lines
399 B
ArmAsm
24 lines
399 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.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)
|
|
strong_alias (__ieee754_sqrt, __sqrt_finite)
|