home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
gnu
/
mntlib16.lzh
/
MNTLIB16
/
_NEGSF2.S
< prev
next >
Wrap
Text File
|
1993-07-29
|
517b
|
23 lines
| double floating point negation routine
|
| written by Kai-Uwe Bloem (I5110401@dbstu1.bitnet).
| Based on a 80x86 floating point packet from comp.os.minix, written by P.Housel
|
|
| Revision 1.1, kub 12-89 :
| Created single float version for 68000
|
| Revision 1.0:
| original 8088 code from P.S.Housel for double floats
.text
.even
.globl __negsf2, ___negsf2
__negsf2: | floating point negate
___negsf2:
movel sp@(4),d0 | do not negate if operand is 0.0
beq 0f
eorl #0x80000000,d0 | flip sign bit
0: rts