summaryrefslogtreecommitdiff
path: root/lib/libm/arch/riscv/s_copysign.S
blob: 70ca71b7785a7e540b379983964a2d49dc3da916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $NetBSD: s_copysign.S,v 1.4 2015/03/27 23:35:40 matt Exp $ */

/* The contents of this file are in the public domain. */

#include <machine/asm.h>

STRONG_ALIAS(_copysignl, copysign)
WEAK_ALIAS(copysignl, _copysignl)

ENTRY(copysign)
	fsgnj.d	fa0, fa0, fa1
	ret
END(copysign)