This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug target/51340] SH Target: Make -mfused-madd enabled by default


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51340

--- Comment #2 from Oleg Endo <oleg.endo@t-online.de> 2011-12-19 01:29:12 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > Is there any particular reason why this should not be enabled by
> > default for SH targets that support the FMAC insn?
> 
> PR29100?

Uhm, yes...
The title should have been "Enable -mfused-madd by -ffast-math"

> 
> BTW, if SH fmac satisfies the semantics for fused multiplication and
> add operation, the fmaf4 instruction pattern would be better now.

I don't know the exact semantics for the new patterns.  All I know is that
rounding is supposed to be done only once after the two operations.  This is
the case for the SH fmac insn.  Not sure whether this is enough though.


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