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]
Other format: [Raw text]

Re: [RFA: 3.2] MMIX: Fix gcc.c-torture/execute/ieee/mzero2.c


On 19-Sep-2002, Roger Sayle <roger@eyesopen.com> wrote:
> 
> > Question: Given that "-1.00 * pzero" can signal when using
> > multiplication, but a negation is allowed not to, is it really
> > correct to now translate it to a negation?
> 
> This transformation is disabled by -fsignaling-nans.  Neither GCC
> nor the C standard honor signaling NaNs by default, so I think
> its reasonable to apply this optimization unless told not to.

> ... I doubt there are enough performance critical uses of GCC's
> "-fsignaling-nans" to warrant new target macros for neg and abs :>

Note that the standards committee responsible for the IEEE floating
point standard is currently considering removing support for signaling
NaNs from the next revision of the standard.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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