From: Oscar Gustafsson Date: Tue, 4 Mar 2025 15:29:30 +0000 (+0000) Subject: __builtin_bswapXX: improve docs X-Git-Tag: basepoints/gcc-16~1739 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5452b50a4ef4236d7d78210a9c16331ae86e67e3;p=thirdparty%2Fgcc.git __builtin_bswapXX: improve docs gcc/ChangeLog: * doc/extend.texi: Improve example for __builtin_bswap16. --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index ec9bb59900c..83f6e45170b 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -16338,7 +16338,7 @@ Returns the first argument raised to the power of the second. Unlike the @defbuiltin{uint16_t __builtin_bswap16 (uint16_t @var{x})} Returns @var{x} with the order of the bytes reversed; for example, -@code{0xaabb} becomes @code{0xbbaa}. Byte here always means +@code{0xabcd} becomes @code{0xcdab}. Byte here always means exactly 8 bits. @enddefbuiltin