This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add FMA_EXPR, un-cse multiplications before expansion
On Fri, 22 Oct 2010, Richard Guenther wrote:
> Joseph, I'm waiting for your last option handling patch to go in
> to adjust -ffast-math to include -ffp-contract. I'm also not
Right now I don't have any uncommitted options patches.
> sure how to do the tristate on/off/fast at the moment.
The current way is code in the option handler that checks for different
string arguments, as done for -fexcess-precision= (a two-state option
where the option design allows for other versions such as "none" to be
added if anyone wants them).
(I do intend at some point to add a generic facility for such options in
.opt files; there's a lot of duplication of similar code to handle such
options, especially in all the targets looking up possible -march values.
Given a generic facility, diagnostics for invalid values can all tell you
what the valid values are, as can --help.)
--
Joseph S. Myers
joseph@codesourcery.com