]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/msun/i387/s_copysignf.S
Merge llvm-project release/18.x llvmorg-18-init-18361-g22683463740e
[FreeBSD/FreeBSD.git] / lib / msun / i387 / s_copysignf.S
1 /*
2  * Written by J.T. Conklin <jtc@netbsd.org>.
3  * Public domain.
4  */
5
6 #include <machine/asm.h>
7 /* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
8
9 ENTRY(copysignf)
10         movl    8(%esp),%edx
11         andl    $0x80000000,%edx
12         movl    4(%esp),%eax
13         andl    $0x7fffffff,%eax
14         orl     %edx,%eax
15         movl    %eax,4(%esp)
16         flds    4(%esp)
17         ret
18 END(copysignf)
19
20         .section .note.GNU-stack,"",%progbits