From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Meissner To: law@redhat.com Cc: John David Anglin , meissner@cygnus.com, gcc-patches@gcc.gnu.org Subject: Re: PATCH: HUGE_VAL should be Infinity Date: Mon, 04 Dec 2000 10:52:00 -0000 Message-id: <20001204135229.12838@cse.cygnus.com> References: <200011302016.PAA28575@hiauly1.hia.nrc.ca> <752.975651561@upchuck> X-SW-Source: 2000-12/msg00179.html On Thu, Nov 30, 2000 at 11:19:21PM -0700, Jeffrey A Law wrote: > > In message <200011302016.PAA28575@hiauly1.hia.nrc.ca>you write: > > The fneg instruction on PA2.0 gear does negate +0. correctly. Thus, there > > is only a problem with PA1.0 and PA1.1 hardware which uses fsub. The HP > > compiler doesn't have the problem since it multiplies by -1. instead. > I think there was a case where that's not 100% valid either, though I think > it would be closer to conforming behavior than fsub. > > FWIW, it may be the case that PA1.0 had fneg -- I don't have my manuals > handy, but there were a few instructions in PA1.0 that got removed. FWIW, FNEG is not in my 1989 manual, which I think is PA1.1. > But I'm 100% certain fneg is available for PA2.0 and it does the right > thing (I already checked it some time ago). > > jeff -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: meissner@redhat.com phone: +1 978-486-9304 Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482