This is the mail archive of the gcc-bugs@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]

[Bug target/27627] __builtin_nanf("") doesn't return a _quiet_ nan on parisc



------- Comment #6 from rth at gcc dot gnu dot org  2006-05-23 15:00 -------
(In reply to comment #4)
> This isn't a target bug as far as I can tell.  The value generated
> by __builtin_nanf("") as shown by Nan2.c is 0x7fc00000.  The same
> value is printed on x86.  This is a signaling NaN.  Positive quiet
> NaNs range between 0x7f800001 and 0x7fbfffff.

Incorrect.  The canonical QNaN on x86 (and most other targets) is
0x7fc00000.  It would seem that PA has the same reversed quiet bit
as MIPS.  See real_format->qnan_msb_set and mips_ieee_single.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27627


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