adjust the vector offsets to match stdc changes
[AROS.git] / arch / m68k-all / stdc / math / s_fmax-881.s
blob80de53a6f84988dd5037e165084f51eb5be08076
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(fmax881, STDC, 184)
8 _FUNCTION(AROS_SLIB_ENTRY(fmax881, STDC, 184))
10 AROS_SLIB_ENTRY(fmax881, STDC, 184):
11 fmove.s %d0,%fp0
12 fmove.s %d1,%fp1
13 ftst.x %fp1
14 fbun .fmax881done
15 fcmp.x %fp1,%fp0
16 fboge .fmax881done
17 fmove.x %fp1,%fp0
18 .fmax881done:
19 fmove.s %fp0,%d0
20 rts