aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSandra Loosemore <sloosemore@baylibre.com>2025-03-07 17:08:30 +0000
committerSandra Loosemore <sloosemore@baylibre.com>2025-03-07 17:16:06 +0000
commitc781da2c10641a651019f8fe77f57ccdbc49f024 (patch)
treeed09ff87d6b28f1e4101f14c1c8afe6caa4f0041 /gcc
parent7deb498425799aceb7659ea25614175a49533184 (diff)
downloadgcc-c781da2c10641a651019f8fe77f57ccdbc49f024.zip
gcc-c781da2c10641a651019f8fe77f57ccdbc49f024.tar.gz
gcc-c781da2c10641a651019f8fe77f57ccdbc49f024.tar.bz2
x86: Improve documentation for -msse4 [PR116708]
gcc/ChangeLog PR target/116708 * doc/invoke.texi (x86 Options): Clarify how -msse4 and -mno-sse4 interact with other SSE options.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d955802..c61f351 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -35924,6 +35924,11 @@ These extensions are also available as built-in functions: see
@ref{x86 Built-in Functions}, for details of the functions enabled and
disabled by these switches.
+Note that @option{-msse4} enables both SSE4.1 and SSE4.2 support,
+while @option{-mno-sse4} turns off those features; neither form of the
+option affects SSE4A support, controlled separately by
+@option{-msse4a}.
+
To generate SSE/SSE2 instructions automatically from floating-point
code (as opposed to 387 instructions), see @option{-mfpmath=sse}.