This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: negation of float on H8300
- From: Andreas Schwab <schwab at suse dot de>
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Cc: "Sanjiv Kumar Gupta, Noida" <sanjivg at noida dot hcltech dot com>,Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>, aph at cambridge dot redhat dot com,dhananjayd at kpit dot com, gnuh8 at gnuh8 dot org dot uk, gcc at gcc dot gnu dot org
- Date: Thu, 08 Aug 2002 09:19:32 +0200
- Subject: Re: negation of float on H8300
- References: <E04CF3F88ACBD5119EFE00508BBB212103D93467@exch-01.noida.hcltech.com><a05111a00b97786e74c94@[63.214.87.220]>
Alan Lehotsky <apl@alum.mit.edu> writes:
|> At 12:48 PM +0530 8/7/02, Sanjiv Kumar Gupta, Noida wrote:
|> >Hi all,
|> >
|> >I see a libcall ___negsf2 is being used by gcc for negation of floats on
|> >H8300. Can't we just flip the first bit using bit insns provided in H8300?
|>
|> That wouldn't handle NaNs correctly (assuming the H8300 is IEEE FP
|> compliant...)
But a negative NaN is still a NaN, isn't it?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."