[cfe-dev] -fdenormal-fp-math
Hal Finkel via cfe-dev
cfe-dev at lists.llvm.org
Thu Mar 9 13:20:32 PST 2017
On 03/09/2017 03:06 PM, Evandro Menezes via cfe-dev wrote:
> Can you please clarify if -fdenormal-fp-math is implied by
> -ffast-math? If not, shouldn't it be?
Why should it be?
> Does the start-up code, if any, perhaps in compiler-rt, enable the
> appropriate bits in the proper control register? How can I help?
No. Right now, I believe that flag is taken as a statement about what
the compiler can assume about the FP environment. It is not something we
attempt to ensure at startup. I imagine we could on some systems (as you
say, by using some startup code).
-Hal
>
> Thank you,
>
--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-dev
mailing list