xref: /netbsd-src/lib/libm/arch/riscv/s_fmax.S (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1/* $NetBSD: s_fmax.S,v 1.2 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#include <machine/math.h>
7
8#ifndef __HAVE_LONG_DOUBLE
9STRONG_ALIAS(fmaxl, fmax)
10#endif
11
12ENTRY(fmax)
13	fmax.d	fa0, fa0, fa1
14	ret
15END(fmax)
16