This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
udivti3 is documented twice, second should probably be udivmodti3
- From: Jay K <jay dot krell at cornell dot edu>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Aug 2009 21:11:02 +0000
- Subject: udivti3 is documented twice, second should probably be udivmodti3
http://gcc.gnu.org/viewcvs/trunk/gcc/doc/libgcc.texi?revision=138078&view=markup
@deftypefn {Runtime Function} {unsigned int} __udivsi3 (unsigned int @var{a}, unsigned int @var{b})
102 @deftypefnx {Runtime Function} {unsigned long} __udivdi3 (unsigned long @var{a}, unsigned long @var{b})
103 @deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b})
104 These functions return the quotient of the unsigned division of @var{a}
105 and @var{b}.
106 @end deftypefn
107
108 @deftypefn {Runtime Function} {unsigned long} __udivmoddi3 (unsigned long @var{a}, unsigned long @var{b}, unsigned long *@var{c})
109 @deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}, unsigned long long *@var{c})
110 These functions calculate both the quotient and remainder of the unsigned
111 division of @var{a} and @var{b}. The return value is the quotient, and
112 the remainder is placed in variable pointed to by @var{c}.
113 @end deftypefn
114
udivti3 is documented twice.
Presumably the second one should be udivmodti3.
I'm writing a simple little libgcc to link gcc output with non-gcc compiler-driver/linker.
Not the complicated stuff, just arithmetic.
Something like darwin-64.c, but it is missing e.g. float to integer conversion.
- Jay