From 5d56a5854f0fa61ee7aa0a7732c91864a720e286 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Wed, 10 Dec 2014 05:43:53 +0000 Subject: [PATCH] libgcc.texi: Update text to match implementation in libgcc/libgcc2.c * doc/libgcc.texi: Update text to match implementation in libgcc/libgcc2.c From-SVN: r218559 --- gcc/ChangeLog | 5 +++++ gcc/doc/libgcc.texi | 28 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49ab6b38b2e..26ca7b4142c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Kito Cheng + + * doc/libgcc.texi: Update text to match implementation in + libgcc/libgcc2.c + 2014-12-09 Trevor Saunders * plugin.c, plugin.def, ggc.h, ggc-common.c, gengtype.h, gengtype.c, diff --git a/gcc/doc/libgcc.texi b/gcc/doc/libgcc.texi index 0dd2ff7deff..da2fa9a01cd 100644 --- a/gcc/doc/libgcc.texi +++ b/gcc/doc/libgcc.texi @@ -177,39 +177,39 @@ that is @code{@var{a} - @var{b}}. @subsection Bit operations -@deftypefn {Runtime Function} int __clzsi2 (int @var{a}) -@deftypefnx {Runtime Function} int __clzdi2 (long @var{a}) -@deftypefnx {Runtime Function} int __clzti2 (long long @var{a}) +@deftypefn {Runtime Function} int __clzsi2 (unsigned int @var{a}) +@deftypefnx {Runtime Function} int __clzdi2 (unsigned long @var{a}) +@deftypefnx {Runtime Function} int __clzti2 (unsigned long long @var{a}) These functions return the number of leading 0-bits in @var{a}, starting at the most significant bit position. If @var{a} is zero, the result is undefined. @end deftypefn -@deftypefn {Runtime Function} int __ctzsi2 (int @var{a}) -@deftypefnx {Runtime Function} int __ctzdi2 (long @var{a}) -@deftypefnx {Runtime Function} int __ctzti2 (long long @var{a}) +@deftypefn {Runtime Function} int __ctzsi2 (unsigned int @var{a}) +@deftypefnx {Runtime Function} int __ctzdi2 (unsigned long @var{a}) +@deftypefnx {Runtime Function} int __ctzti2 (unsigned long long @var{a}) These functions return the number of trailing 0-bits in @var{a}, starting at the least significant bit position. If @var{a} is zero, the result is undefined. @end deftypefn -@deftypefn {Runtime Function} int __ffsdi2 (long @var{a}) -@deftypefnx {Runtime Function} int __ffsti2 (long long @var{a}) +@deftypefn {Runtime Function} int __ffsdi2 (unsigned long @var{a}) +@deftypefnx {Runtime Function} int __ffsti2 (unsigned long long @var{a}) These functions return the index of the least significant 1-bit in @var{a}, or the value zero if @var{a} is zero. The least significant bit is index one. @end deftypefn -@deftypefn {Runtime Function} int __paritysi2 (int @var{a}) -@deftypefnx {Runtime Function} int __paritydi2 (long @var{a}) -@deftypefnx {Runtime Function} int __parityti2 (long long @var{a}) +@deftypefn {Runtime Function} int __paritysi2 (unsigned int @var{a}) +@deftypefnx {Runtime Function} int __paritydi2 (unsigned long @var{a}) +@deftypefnx {Runtime Function} int __parityti2 (unsigned long long @var{a}) These functions return the value zero if the number of bits set in @var{a} is even, and the value one otherwise. @end deftypefn -@deftypefn {Runtime Function} int __popcountsi2 (int @var{a}) -@deftypefnx {Runtime Function} int __popcountdi2 (long @var{a}) -@deftypefnx {Runtime Function} int __popcountti2 (long long @var{a}) +@deftypefn {Runtime Function} int __popcountsi2 (unsigned int @var{a}) +@deftypefnx {Runtime Function} int __popcountdi2 (unsigned long @var{a}) +@deftypefnx {Runtime Function} int __popcountti2 (unsigned long long @var{a}) These functions return the number of bits set in @var{a}. @end deftypefn -- 2.30.2