use USER_CPPFLAGS
[AROS.git] / arch / m68k-all / stdc / math / e_hypot-881.s
blob84cee816c83cf8917195b496fd3df812bfe9adaf
1 # Copyright © 2018, The AROS Development Team. All rights reserved.
2 # $Id$
3 #include "aros/m68k/asm.h"
5 .text
6 .balign 4
7 .globl AROS_SLIB_ENTRY(hypot881, STDC, 159)
8 _FUNCTION(AROS_SLIB_ENTRY(hypot881, STDC, 159))
10 AROS_SLIB_ENTRY(hypot881, STDC, 159):
11 fmove.s %d0,%fp0
12 fmove.s %d1,%fp1
13 fmul.x %fp0,%fp0
14 fmul.x %fp1,%fp1
15 fadd.x %fp1,%fp0
16 fsqrt.x %fp0
17 fmove.s %fp0,%d0
18 rts