[cfe-commits] [PATCH] Add -fexcess-precision option.
Hal Finkel
hfinkel at anl.gov
Fri Jun 22 07:03:44 PDT 2012
On Thu, 21 Jun 2012 15:28:40 -0700
Lang Hames <lhames at gmail.com> wrote:
> Hey,
>
>
> > My point is that we *just* changed the name a few days ago. Now is
> > the prime time to change it in light of the present discussion.
>
>
> Yep - I'll rename the LLVM flag for consistency with the frontend
> version.
Speaking of names, the gcc manual now says:
(quote)
-ffp-contract=style
-ffp-contract=off disables floating-point expression contraction.
-ffp-contract=fast enables floating-point expression contraction such
as forming of fused multiply-add operations if the target has native
support for them. -ffp-contract=on enables floating-point expression
contraction if allowed by the language standard. This is currently not
implemented and treated equal to -ffp-contract=off.
The default is -ffp-contract=fast.
(end quote)
So it seems that gcc has named the option -ffp-contract -- we should
probably do the same. We can accept gcc's fast/on/off as synonyms for
our preferred keywords (I'm specifically talking about clang here).
-Hal
>
> - Lang.
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-commits
mailing list