Mercurial > hg > CbC > CbC_gcc
comparison gcc/doc/libgcc.texi @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 @c Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 | 1 @c Copyright (C) 2003-2017 Free Software Foundation, Inc. |
2 @c Free Software Foundation, Inc. | |
3 @c This is part of the GCC manual. | 2 @c This is part of the GCC manual. |
4 @c For copying conditions, see the file gcc.texi. | 3 @c For copying conditions, see the file gcc.texi. |
5 @c Contributed by Aldy Hernandez <aldy@quesejoda.com> | 4 @c Contributed by Aldy Hernandez <aldy@quesejoda.com> |
6 | 5 |
7 @node Libgcc | 6 @node Libgcc |
104 @deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}) | 103 @deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}) |
105 These functions return the quotient of the unsigned division of @var{a} | 104 These functions return the quotient of the unsigned division of @var{a} |
106 and @var{b}. | 105 and @var{b}. |
107 @end deftypefn | 106 @end deftypefn |
108 | 107 |
109 @deftypefn {Runtime Function} {unsigned long} __udivmoddi3 (unsigned long @var{a}, unsigned long @var{b}, unsigned long *@var{c}) | 108 @deftypefn {Runtime Function} {unsigned long} __udivmoddi4 (unsigned long @var{a}, unsigned long @var{b}, unsigned long *@var{c}) |
110 @deftypefnx {Runtime Function} {unsigned long long} __udivti3 (unsigned long long @var{a}, unsigned long long @var{b}, unsigned long long *@var{c}) | 109 @deftypefnx {Runtime Function} {unsigned long long} __udivmodti4 (unsigned long long @var{a}, unsigned long long @var{b}, unsigned long long *@var{c}) |
111 These functions calculate both the quotient and remainder of the unsigned | 110 These functions calculate both the quotient and remainder of the unsigned |
112 division of @var{a} and @var{b}. The return value is the quotient, and | 111 division of @var{a} and @var{b}. The return value is the quotient, and |
113 the remainder is placed in variable pointed to by @var{c}. | 112 the remainder is placed in variable pointed to by @var{c}. |
114 @end deftypefn | 113 @end deftypefn |
115 | 114 |
176 that is @code{@var{a} - @var{b}}. | 175 that is @code{@var{a} - @var{b}}. |
177 @end deftypefn | 176 @end deftypefn |
178 | 177 |
179 @subsection Bit operations | 178 @subsection Bit operations |
180 | 179 |
181 @deftypefn {Runtime Function} int __clzsi2 (int @var{a}) | 180 @deftypefn {Runtime Function} int __clzsi2 (unsigned int @var{a}) |
182 @deftypefnx {Runtime Function} int __clzdi2 (long @var{a}) | 181 @deftypefnx {Runtime Function} int __clzdi2 (unsigned long @var{a}) |
183 @deftypefnx {Runtime Function} int __clzti2 (long long @var{a}) | 182 @deftypefnx {Runtime Function} int __clzti2 (unsigned long long @var{a}) |
184 These functions return the number of leading 0-bits in @var{a}, starting | 183 These functions return the number of leading 0-bits in @var{a}, starting |
185 at the most significant bit position. If @var{a} is zero, the result is | 184 at the most significant bit position. If @var{a} is zero, the result is |
186 undefined. | 185 undefined. |
187 @end deftypefn | 186 @end deftypefn |
188 | 187 |
189 @deftypefn {Runtime Function} int __ctzsi2 (int @var{a}) | 188 @deftypefn {Runtime Function} int __ctzsi2 (unsigned int @var{a}) |
190 @deftypefnx {Runtime Function} int __ctzdi2 (long @var{a}) | 189 @deftypefnx {Runtime Function} int __ctzdi2 (unsigned long @var{a}) |
191 @deftypefnx {Runtime Function} int __ctzti2 (long long @var{a}) | 190 @deftypefnx {Runtime Function} int __ctzti2 (unsigned long long @var{a}) |
192 These functions return the number of trailing 0-bits in @var{a}, starting | 191 These functions return the number of trailing 0-bits in @var{a}, starting |
193 at the least significant bit position. If @var{a} is zero, the result is | 192 at the least significant bit position. If @var{a} is zero, the result is |
194 undefined. | 193 undefined. |
195 @end deftypefn | 194 @end deftypefn |
196 | 195 |
197 @deftypefn {Runtime Function} int __ffsdi2 (long @var{a}) | 196 @deftypefn {Runtime Function} int __ffsdi2 (unsigned long @var{a}) |
198 @deftypefnx {Runtime Function} int __ffsti2 (long long @var{a}) | 197 @deftypefnx {Runtime Function} int __ffsti2 (unsigned long long @var{a}) |
199 These functions return the index of the least significant 1-bit in @var{a}, | 198 These functions return the index of the least significant 1-bit in @var{a}, |
200 or the value zero if @var{a} is zero. The least significant bit is index | 199 or the value zero if @var{a} is zero. The least significant bit is index |
201 one. | 200 one. |
202 @end deftypefn | 201 @end deftypefn |
203 | 202 |
204 @deftypefn {Runtime Function} int __paritysi2 (int @var{a}) | 203 @deftypefn {Runtime Function} int __paritysi2 (unsigned int @var{a}) |
205 @deftypefnx {Runtime Function} int __paritydi2 (long @var{a}) | 204 @deftypefnx {Runtime Function} int __paritydi2 (unsigned long @var{a}) |
206 @deftypefnx {Runtime Function} int __parityti2 (long long @var{a}) | 205 @deftypefnx {Runtime Function} int __parityti2 (unsigned long long @var{a}) |
207 These functions return the value zero if the number of bits set in | 206 These functions return the value zero if the number of bits set in |
208 @var{a} is even, and the value one otherwise. | 207 @var{a} is even, and the value one otherwise. |
209 @end deftypefn | 208 @end deftypefn |
210 | 209 |
211 @deftypefn {Runtime Function} int __popcountsi2 (int @var{a}) | 210 @deftypefn {Runtime Function} int __popcountsi2 (unsigned int @var{a}) |
212 @deftypefnx {Runtime Function} int __popcountdi2 (long @var{a}) | 211 @deftypefnx {Runtime Function} int __popcountdi2 (unsigned long @var{a}) |
213 @deftypefnx {Runtime Function} int __popcountti2 (long long @var{a}) | 212 @deftypefnx {Runtime Function} int __popcountti2 (unsigned long long @var{a}) |
214 These functions return the number of bits set in @var{a}. | 213 These functions return the number of bits set in @var{a}. |
215 @end deftypefn | 214 @end deftypefn |
216 | 215 |
217 @deftypefn {Runtime Function} int32_t __bswapsi2 (int32_t @var{a}) | 216 @deftypefn {Runtime Function} int32_t __bswapsi2 (int32_t @var{a}) |
218 @deftypefnx {Runtime Function} int64_t __bswapdi2 (int64_t @var{a}) | 217 @deftypefnx {Runtime Function} int64_t __bswapdi2 (int64_t @var{a}) |
500 | 499 |
501 The software decimal floating point library implements IEEE 754-2008 | 500 The software decimal floating point library implements IEEE 754-2008 |
502 decimal floating point arithmetic and is only activated on selected | 501 decimal floating point arithmetic and is only activated on selected |
503 targets. | 502 targets. |
504 | 503 |
505 The software decimal floating point library supports either DPD | 504 The software decimal floating point library supports either DPD |
506 (Densely Packed Decimal) or BID (Binary Integer Decimal) encoding | 505 (Densely Packed Decimal) or BID (Binary Integer Decimal) encoding |
507 as selected at configure time. | 506 as selected at configure time. |
508 | 507 |
509 | 508 |
510 @subsection Arithmetic functions | 509 @subsection Arithmetic functions |
511 | 510 |