clarify the purpose of this project
[nyanglibc.git] / math / s_copysignf.shared.s
blobdeafc5e524ef6f5917bac1029cbc8fdfe45b7911
1 .section .rodata
2 .align 1<<4
3 .type mask,@object
4 mask:
5 .byte 0xff, 0xff, 0xff, 0x7f
6 .size mask,.-mask;
7 .text
8 .globl __copysignf
9 .type __copysignf,@function
10 .align 1<<4
11 __copysignf:
12 movss mask(%rip),%xmm3
13 andps %xmm3,%xmm0
14 andnps %xmm1,%xmm3
15 orps %xmm3,%xmm0
16 retq
17 .size __copysignf,.-__copysignf
18 .weak copysignf
19 copysignf = __copysignf
20 .weak copysignf32
21 copysignf32 = __copysignf