This is the mail archive of the gcc@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: negation of float on H8300


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."


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