mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
21 lines
372 B
ArmAsm
21 lines
372 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
RCSID("$NetBSD: s_copysign.S,v 1.4 1995/05/08 23:53:02 jtc Exp $")
|
|
|
|
ENTRY(__copysign)
|
|
movl 16(%esp),%edx
|
|
movl 8(%esp),%eax
|
|
andl $0x80000000,%edx
|
|
andl $0x7fffffff,%eax
|
|
orl %edx,%eax
|
|
movl %eax,8(%esp)
|
|
fldl 4(%esp)
|
|
ret
|
|
END (__copysign)
|
|
weak_alias (__copysign, copysign)
|