From: Oleg Endo Date: Wed, 26 Sep 2012 20:51:20 +0000 (+0000) Subject: extend.texi (bswap Builtins): Change signed types to unsigned types. X-Git-Tag: misc/gccgo-go1_1_2~625 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a104e60b67167a6cfc831a2b9469a967024410ac;p=thirdparty%2Fgcc.git extend.texi (bswap Builtins): Change signed types to unsigned types. * doc/extend.texi (bswap Builtins): Change signed types to unsigned types. From-SVN: r191774 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a33d00554c72..a82340f5e104 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-26 Oleg Endo + + * doc/extend.texi (bswap Builtins): Change signed types to unsigned + types. + 2012-09-26 Ian Lance Taylor * diagnostic.c (bt_callback): Cast pc when calling fprintf. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5a75d4507a9e..8b4a86777594 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -8611,18 +8611,18 @@ Similar to @code{__builtin_powi}, except the argument and return types are @code{long double}. @end deftypefn -@deftypefn {Built-in Function} int16_t __builtin_bswap16 (int16_t x) +@deftypefn {Built-in Function} uint16_t __builtin_bswap16 (uint16_t x) Returns @var{x} with the order of the bytes reversed; for example, @code{0xaabb} becomes @code{0xbbaa}. Byte here always means exactly 8 bits. @end deftypefn -@deftypefn {Built-in Function} int32_t __builtin_bswap32 (int32_t x) +@deftypefn {Built-in Function} uint32_t __builtin_bswap32 (uint32_t x) Similar to @code{__builtin_bswap16}, except the argument and return types are 32-bit. @end deftypefn -@deftypefn {Built-in Function} int64_t __builtin_bswap64 (int64_t x) +@deftypefn {Built-in Function} uint64_t __builtin_bswap64 (uint64_t x) Similar to @code{__builtin_bswap32}, except the argument and return types are 64-bit. @end deftypefn