Message ID | 20110713010023.GA20275@intel.com |
---|---|
State | New |
Headers | show |
On Wed, Jul 13, 2011 at 3:00 AM, H.J. Lu <hongjiu.lu@intel.com> wrote: > Hi, > > -mfused-madd is deprecated and -mfma is undocumented. This patch > removes -mfused-madd and documents -mfma. OK for trunk? Ok. Thanks, Richard. > Thanks. > > H.J. > --- > 2011-07-12 H.J. Lu <hongjiu.lu@intel.com> > > * doc/invoke.texi (x86): Remove -mfused-madd and add -mfma. > > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index f146cc5..3429b31 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -600,7 +600,7 @@ Objective-C and Objective-C++ Dialects}. > -mincoming-stack-boundary=@var{num} @gol > -mcld -mcx16 -msahf -mmovbe -mcrc32 -mrecip -mvzeroupper @gol > -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mavx @gol > --maes -mpclmul -mfsgsbase -mrdrnd -mf16c -mfused-madd @gol > +-maes -mpclmul -mfsgsbase -mrdrnd -mf16c -mfma @gol > -msse4a -m3dnow -mpopcnt -mabm -mbmi -mtbm -mfma4 -mxop -mlwp @gol > -mthreads -mno-align-stringops -minline-all-stringops @gol > -minline-stringops-dynamically -mstringop-strategy=@var{alg} @gol > @@ -12587,6 +12587,8 @@ preferred alignment to @option{-mpreferred-stack-boundary=2}. > @itemx -mno-rdrnd > @itemx -mf16c > @itemx -mno-f16c > +@itemx -mfma > +@itemx -mno-fma > @itemx -msse4a > @itemx -mno-sse4a > @itemx -mfma4 > @@ -12612,9 +12614,9 @@ preferred alignment to @option{-mpreferred-stack-boundary=2}. > @opindex mno-sse > @opindex m3dnow > @opindex mno-3dnow > -These switches enable or disable the use of instructions in the MMX, > -SSE, SSE2, SSE3, SSSE3, SSE4.1, AVX, AES, PCLMUL, FSGSBASE, RDRND, > -F16C, SSE4A, FMA4, XOP, LWP, ABM, BMI, or 3DNow!@: extended instruction sets. > +These switches enable or disable the use of instructions in the MMX, SSE, > +SSE2, SSE3, SSSE3, SSE4.1, AVX, AES, PCLMUL, FSGSBASE, RDRND, F16C, FMA, > +SSE4A, FMA4, XOP, LWP, ABM, BMI, or 3DNow!@: extended instruction sets. > 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. > @@ -12633,13 +12635,6 @@ supported architecture, using the appropriate flags. In particular, > the file containing the CPU detection code should be compiled without > these options. > > -@item -mfused-madd > -@itemx -mno-fused-madd > -@opindex mfused-madd > -@opindex mno-fused-madd > -Do (don't) generate code that uses the fused multiply/add or multiply/subtract > -instructions. The default is to use these instructions. > - > @item -mcld > @opindex mcld > This option instructs GCC to emit a @code{cld} instruction in the prologue >
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f146cc5..3429b31 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -600,7 +600,7 @@ Objective-C and Objective-C++ Dialects}. -mincoming-stack-boundary=@var{num} @gol -mcld -mcx16 -msahf -mmovbe -mcrc32 -mrecip -mvzeroupper @gol -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mavx @gol --maes -mpclmul -mfsgsbase -mrdrnd -mf16c -mfused-madd @gol +-maes -mpclmul -mfsgsbase -mrdrnd -mf16c -mfma @gol -msse4a -m3dnow -mpopcnt -mabm -mbmi -mtbm -mfma4 -mxop -mlwp @gol -mthreads -mno-align-stringops -minline-all-stringops @gol -minline-stringops-dynamically -mstringop-strategy=@var{alg} @gol @@ -12587,6 +12587,8 @@ preferred alignment to @option{-mpreferred-stack-boundary=2}. @itemx -mno-rdrnd @itemx -mf16c @itemx -mno-f16c +@itemx -mfma +@itemx -mno-fma @itemx -msse4a @itemx -mno-sse4a @itemx -mfma4 @@ -12612,9 +12614,9 @@ preferred alignment to @option{-mpreferred-stack-boundary=2}. @opindex mno-sse @opindex m3dnow @opindex mno-3dnow -These switches enable or disable the use of instructions in the MMX, -SSE, SSE2, SSE3, SSSE3, SSE4.1, AVX, AES, PCLMUL, FSGSBASE, RDRND, -F16C, SSE4A, FMA4, XOP, LWP, ABM, BMI, or 3DNow!@: extended instruction sets. +These switches enable or disable the use of instructions in the MMX, SSE, +SSE2, SSE3, SSSE3, SSE4.1, AVX, AES, PCLMUL, FSGSBASE, RDRND, F16C, FMA, +SSE4A, FMA4, XOP, LWP, ABM, BMI, or 3DNow!@: extended instruction sets. 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. @@ -12633,13 +12635,6 @@ supported architecture, using the appropriate flags. In particular, the file containing the CPU detection code should be compiled without these options. -@item -mfused-madd -@itemx -mno-fused-madd -@opindex mfused-madd -@opindex mno-fused-madd -Do (don't) generate code that uses the fused multiply/add or multiply/subtract -instructions. The default is to use these instructions. - @item -mcld @opindex mcld This option instructs GCC to emit a @code{cld} instruction in the prologue