1/*
2 * Public domain.
3 */
4
5#include <libm-alias-ldouble.h>
6#include <machine/asm.h>
7
8RCSID("$NetBSD: $")
9
10ENTRY(__copysignl)
11 movl 32(%rsp),%edx
12 movl 16(%rsp),%eax
13 andl $0x8000,%edx
14 andl $0x7fff,%eax
15 orl %edx,%eax
16 movl %eax,16(%rsp)
17 fldt 8(%rsp)
18 ret
19END (__copysignl)
20libm_alias_ldouble (__copysign, copysign)
21

source code of glibc/sysdeps/x86_64/fpu/s_copysignl.S