This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reorganize -ffast-math code.


On Tue, Mar 06, 2001 at 10:56:29AM -0500, Brad Lucier wrote:
> This is a revised, simplified patch that takes into account
> the comments people have made.  Except for the fix to the
> association code, it is a straight substitution of flag_fast_math
> by one of the new flags for each use of flag_fast_math.  It also
> updates the documentation of the compiler options.

Generally ok.  

Perhaps a future iteration should separate unsafe optimizations
into those valid except for NaNs (and perhaps -0?) and those that
can affect precision.

> !   if (flag_errno_math & ! flag_unsafe_math_optimizations)

s/&/&&/

> !   "! TARGET_NO_FANCY_MATH_387 && TARGET_80387 && flag_unsafe_math_optimizations"

I'd prefer these be line wrapped.

> + if one relies on "non-stop" IEEE arithmetic, for example.

TeX wants ``'', no?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]