This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: HUGE_VAL should be Infinity
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: PATCH: HUGE_VAL should be Infinity
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Thu, 30 Nov 2000 14:35:58 -0500 (EST)
- Cc: law at redhat dot com, meissner at cygnus dot com, gcc-patches at gcc dot gnu dot org
> > According to my tests, at least some PA1.1 chips have the fneg instruction.
> > I ran tests with it on the 735 that I have. However, probably some PA1.1
> > chips don't have it or the HP hardware engineers forgot to tell the software
> > folks about it (or maybe they noticed bugs in the implementation). Anyway,
> > the fneg on the 735 behaves the same as subtracting from 0. Thus, there
> > is no advantage in using it.
>
> Or possibly HP/UX catches the unimplemented instruction trap and simulates the
> unimplemented instruction, and then restarts the program. Obviously if that is
A quick test and you are correct. HP/UX 10.20 emulates fneg when required.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)