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

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

#include <machine/asm.h>
#include <machine/math.h>

#ifndef __HAVE_LONG_DOUBLE
STRONG_ALIAS(fmaxl, fmax)
#endif

ENTRY(fmax)
	fmax.d	fa0, fa0, fa1
	ret
END(fmax)