diff options
author | Richard Biener <rguenther@suse.de> | 2024-01-08 10:48:19 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-01-08 14:50:12 +0100 |
commit | 4b358f9b7348c50321f3ec1af6d56fa200c0889a (patch) | |
tree | bf5b679e3e4fc6d34089fab8f01c8cf74b3d7fc6 | |
parent | b3cc5a1efead520bc977b4ba51f1328d01b3e516 (diff) | |
download | gcc-4b358f9b7348c50321f3ec1af6d56fa200c0889a.zip gcc-4b358f9b7348c50321f3ec1af6d56fa200c0889a.tar.gz gcc-4b358f9b7348c50321f3ec1af6d56fa200c0889a.tar.bz2 |
Clarify -mmovbe documentation
It was noticed that -mmovbe doesn't use movbe for __builtin_bswap{32,64}
when not optimizing. The follownig adjusts the documentation to
say it will be used for optimizing and applies to all byte swaps,
not just those carried out via builtin function calls.
* doc/invoke.texi (-mmovbe): Clarify.
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 68d1f36..8cf99f3 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -34708,8 +34708,8 @@ see @ref{Other Builtins} for details. @opindex mmovbe @item -mmovbe -This option enables use of the @code{movbe} instruction to implement -@code{__builtin_bswap32} and @code{__builtin_bswap64}. +This option enables use of the @code{movbe} instruction to optimize +byte swapping of four and eight byte entities. @opindex mshstk @item -mshstk |