xref: /minix/lib/libm/arch/riscv/s_copysign.S (revision 0a6a1f1d)
1/* $NetBSD: s_copysign.S,v 1.4 2015/03/27 23:35:40 matt Exp $ */
2
3/* The contents of this file are in the public domain. */
4
5#include <machine/asm.h>
6
7STRONG_ALIAS(_copysignl, copysign)
8WEAK_ALIAS(copysignl, _copysignl)
9
10ENTRY(copysign)
11	fsgnj.d	fa0, fa0, fa1
12	ret
13END(copysign)
14