xref: /netbsd-src/lib/libm/arch/riscv/s_fmax.S (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
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