Skip to content
Snippets Groups Projects
Commit 5452b50a authored by Oscar Gustafsson's avatar Oscar Gustafsson Committed by Richard Sandiford
Browse files

__builtin_bswapXX: improve docs

gcc/ChangeLog:

	* doc/extend.texi: Improve example for __builtin_bswap16.
parent 8c4a00f9
No related branches found
No related tags found
No related merge requests found
...@@ -16338,7 +16338,7 @@ Returns the first argument raised to the power of the second. Unlike the ...@@ -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})} @defbuiltin{uint16_t __builtin_bswap16 (uint16_t @var{x})}
Returns @var{x} with the order of the bytes reversed; for example, 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. exactly 8 bits.
@enddefbuiltin @enddefbuiltin
   
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment