repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated to fedora-glibc-20090427T1419
[glibc/history.git]
/
sysdeps
/
x86_64
/
fpu
/
s_copysignl.S
blob
2ffd612d65eb9059fe56396c37a8f40e6e1924b0
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>.
4
* Adopted for x86-64 by Andreas Jaeger <aj@suse.de>.
5
* Public domain.
6
*/
7
8
#include <machine/asm.h>
9
10
RCSID("$NetBSD: $")
11
12
ENTRY(__copysignl)
13
movl 32(%rsp),%edx
14
movl 16(%rsp),%eax
15
andl $0x8000,%edx
16
andl $0x7fff,%eax
17
orl %edx,%eax
18
movl %eax,16(%rsp)
19
fldt 8(%rsp)
20
ret
21
END (__copysignl)
22
weak_alias (__copysignl, copysignl)