move benchmarks to their own dir.
[minix.git] / lib / i386 / int64 / cv64u.s
bloba4b41f349292c2e0a1bc945fbc00ccd8aa802e10
1 ! cv64u() - 64 bit converted to unsigned Author: Kees J. Bot
2 ! 7 Dec 1995
3 .sect .text
4 .define _cv64u, _cv64ul
6 _cv64u: ! unsigned cv64u(u64_t i);
7 _cv64ul: ! unsigned long cv64ul(u64_t i);
8 mov eax, 4(esp)
9 cmp 8(esp), 0 ! return ULONG_MAX if really big
10 jz 0f
11 mov eax, -1
12 0: ret
15 ! $PchId: cv64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $