glibc/sysdeps/i386/fpu/s_copysignl.S
Ulrich Drepper abfbdde177 Update.
1999-07-14 00:54:57 +00:00

22 lines
389 B
ArmAsm

/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: $")
ENTRY(__copysignl)
movl 24(%esp),%edx
movl 12(%esp),%eax
andl $0x8000,%edx
andl $0x7fff,%eax
orl %edx,%eax
movl %eax,12(%esp)
fldt 4(%esp)
ret
END (__copysignl)
weak_alias (__copysignl, copysignl)