|
|
1.1 root 1: //////////
2: / libc/crt/i386/ifcvt.s
3: / i386 C runtime library.
4: / IEEE software floating point support.
5: //////////
6:
7: //////////
8: / int _ifcvt()
9: /
10: / Convert float in %eax to int, return in %eax.
11: //////////
12:
13: MAXINT .equ 0x7FFFFFFF
14: SGNMASK .equ 0x80000000
15:
16: .globl _idcvt
17: .globl _ifcvt
18: .globl _dfcvt
19:
20: _ifcvt:
21: push %edx
22: call _dfcvt / (double)f to EDX:EAX
23: call _idcvt / (double)f to int in EAX
24: pop %edx
25: ret
26:
27: / end of libc/crt/i386/ifcvt.s
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.