* PATCH: Remove -mfused-madd and add -mfma
@ 2011-07-13 1:45 H.J. Lu
2011-07-13 9:00 ` Richard Guenther
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2011-07-13 1:45 UTC (permalink / raw)
To: gcc-patches; +Cc: Uros Bizjak
Hi,
-mfused-madd is deprecated and -mfma is undocumented. This patch
removes -mfused-madd and documents -mfma. OK for trunk?
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: Remove -mfused-madd and add -mfma
2011-07-13 1:45 PATCH: Remove -mfused-madd and add -mfma H.J. Lu
@ 2011-07-13 9:00 ` Richard Guenther
0 siblings, 0 replies; 2+ messages in thread
From: Richard Guenther @ 2011-07-13 9:00 UTC (permalink / raw)
To: H.J. Lu; +Cc: gcc-patches, Uros Bizjak
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-13 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 1:45 PATCH: Remove -mfused-madd and add -mfma H.J. Lu
2011-07-13 9:00 ` Richard Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).