adjust the vector offsets to match stdc changes
[AROS.git] / arch / m68k-all / stdc / math / s_copysign-881.s
blobc01f3ab4ffc731613468330bd59605a917c893c3
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(copysign881, STDC, 179)
8 _FUNCTION(AROS_SLIB_ENTRY(copysign881, STDC, 179))
10 AROS_SLIB_ENTRY(copysign881, STDC, 179):
11 fmove.s %d0,%fp0
12 fabs.x %fp0
13 tst.l %d1
14 bpl .copysign881done
15 fneg.x %fp0
16 .copysign881done:
17 fmove.s %fp0,%d0
18 rts