cleanup debug
[AROS.git] / arch / m68k-all / libgcc1 / _negsf2.s
blob0ed06bcecbcc95fe16d07234cd93612e4b6e187e
1 | double floating point negation routine
3 | written by Kai-Uwe Bloem (I5110401@dbstu1.bitnet).
4 | Based on a 80x86 floating point packet from comp.os.minix, written by P.Housel
7 | Revision 1.1, kub 12-89 :
8 | Created single float version for 68000
10 | Revision 1.0:
11 | original 8088 code from P.S.Housel for double floats
13 .text
14 .even
15 .globl __negsf2
17 __negsf2: | floating point negate
18 movel %sp@(4),%d0 | do not negate if operand is 0.0
19 beq L_0
20 eorl #0x80000000,%d0 | flip sign bit
21 L_0: rts