xref: /minix3/lib/libm/arch/riscv/s_fmax.S (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc/* $NetBSD: s_fmax.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc/* The contents of this file are in the public domain. */
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuc#include <machine/asm.h>
6*0a6a1f1dSLionel Sambuc#include <machine/math.h>
7*0a6a1f1dSLionel Sambuc
8*0a6a1f1dSLionel Sambuc#ifndef __HAVE_LONG_DOUBLE
9*0a6a1f1dSLionel SambucSTRONG_ALIAS(fmaxl, fmax)
10*0a6a1f1dSLionel Sambuc#endif
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel SambucENTRY(fmax)
13*0a6a1f1dSLionel Sambuc	fmax.d	fa0, fa0, fa1
14*0a6a1f1dSLionel Sambuc	ret
15*0a6a1f1dSLionel SambucEND(fmax)
16