|
|
1.1 root 1: #ifdef LIBC_SCCS
2: .asciz "@(#)fp_exp.s 1.1 (Berkeley/CCI) 7/2/86"
3: #endif LIBC_SCCS
4:
5: #include <tahoemath/fp.h>
6: #include "DEFS.h"
7:
8: /*
9: * Reserved floating point operand.
10: */
11: ASENTRY(fpresop, 0)
12: movl $0xaaaaaaaa,r0
13: movl $0xaaaaaaaa,r1
14: ret
15:
16: /*
17: * Floating point overflow.
18: */
19: ASENTRY(fpover, 0)
20: movl $HUGE0,r0
21: movl $HUGE1,r1
22: ret
23:
24: /*
25: * Floating point underflow.
26: */
27: ASENTRY(fpunder, 0)
28: clrl r0
29: clrl r1
30: ret
31:
32: /*
33: * Floating point division by zero.
34: */
35: ASENTRY(fpzdiv, 0)
36: divl2 $0,r1 # force division by zero.
37: ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.