adjust the vector offsets to match stdc changes
[AROS.git] / arch / m68k-all / stdc / math / s_fdim-881.s
blob03737b662f8a024a7565f50ca0346de3da99585d
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(fdim881, STDC, 183)
8 _FUNCTION(AROS_SLIB_ENTRY(fdim881, STDC, 183))
10 AROS_SLIB_ENTRY(fdim881, STDC, 183):
11 fmove.s %d0,%fp0
12 fmove.s %d1,%fp1
13 fsub.x %fp1,%fp0
14 fabs.x %fp0
15 fmove.s %fp0,%d0
16 rts