mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-19 19:40:06 +00:00
21 lines
376 B
ArmAsm
21 lines
376 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $")
|
|
|
|
ENTRY(__copysignf)
|
|
movl 8(%esp),%edx
|
|
movl 4(%esp),%eax
|
|
andl $0x80000000,%edx
|
|
andl $0x7fffffff,%eax
|
|
orl %edx,%eax
|
|
movl %eax,4(%esp)
|
|
flds 4(%esp)
|
|
ret
|
|
END (__copysignf)
|
|
weak_alias (__copysignf, copysignf)
|