
Envoyé par
man gcc
-msse
-mno-sse
-msse2
-mno-sse2
-msse3
-mno-sse3
-m3dnow
-mno-3dnow
These switches enable or disable the use of instructions in the MMX,
SSE, SSE2 or 3DNow! extended instruction sets. These extensions are
also available as built-in functions: see X86 Built-in Functions, for
details of the functions enabled and disabled by these switches.
To have SSE/SSE2 instructions generated automatically from floating-
point code (as opposed to 387 instructions), see -mfpmath=sse.
These options will enable GCC to use these extended instructions in
generated code, even without -mfpmath=sse. Applications which perform
runtime CPU detection must compile separate files for each supported
architecture, using the appropriate flags. In particular, the file
containing the CPU detection code should be compiled without these
options.
Partager