summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-26 20:51:20 +0000
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-26 20:51:20 +0000
commit8ee0dc844693df8112318807754f9bd6ab56ea67 (patch)
treea26a7395d1793c57ef6f8c38e3b5efc8fe666900 /gcc/doc
parent56518289cee3393cf126af8d3aa6e692fa531cd0 (diff)
downloadgcc-8ee0dc844693df8112318807754f9bd6ab56ea67.tar.gz
* doc/extend.texi (bswap Builtins): Change signed types to unsigned
types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191774 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 5a75d4507a9..8b4a8677759 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