]>
Commit | Line | Data |
---|---|---|
76060ec0 | 1 | /* |
76060ec0 RM |
2 | * Public domain. |
3 | */ | |
4 | ||
2ce30701 | 5 | #include <libm-alias-ldouble.h> |
76060ec0 RM |
6 | #include <machine/asm.h> |
7 | ||
8 | RCSID("$NetBSD: $") | |
9 | ||
10 | ENTRY(__copysignl) | |
11 | movl 24(%esp),%edx | |
12 | movl 12(%esp),%eax | |
13 | andl $0x8000,%edx | |
14 | andl $0x7fff,%eax | |
15 | orl %edx,%eax | |
16 | movl %eax,12(%esp) | |
cccda09f | 17 | fldt 4(%esp) |
76060ec0 | 18 | ret |
d38cd08c | 19 | END (__copysignl) |
2ce30701 | 20 | libm_alias_ldouble (__copysign, copysign) |