From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: law@redhat.com, meissner@cygnus.com, gcc-patches@gcc.gnu.org Subject: Re: PATCH: HUGE_VAL should be Infinity Date: Thu, 30 Nov 2000 12:16:00 -0000 Message-id: <200011302016.PAA28575@hiauly1.hia.nrc.ca> References: X-SW-Source: 2000-11/msg01788.html > > Nyet. Recent HP chips (all PA2.0 variants) have fneg which provides an > > ieee compliant negation. > > Wrong. I tried fneg on a C200 and again negation of +0. yielded +0. The > behaviour was identical to that of the 735. Thus, I don't believe that > all the new PA2.0 chips provide an ieee compliant negation. HP is usually > pretty good about this kind of thing which was why I wondered if there > was some debate about the standard. I retested this and it appears that I made a mistake in my original testing. 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. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)