Bytes order and words order

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Aug 23 13:36:00 GMT 2002


Matt Austern <austern@apple.com> writes:

| On Friday, August 23, 2002, at 12:13 PM, Gabriel Dos Reis wrote:
| 
| > |  On the PPC a qNaN
| > | has the most significant fraction bit 1 and an sNaN has 0,
| >
| > Yes, that is what I have on SPARCs too.
| >
| > | and
| > | for MIPS it's the other way around.
| 
| See table B-2 in the MIPS IV Instruction Set reference,
| which you can find at this rather inconvenient URL:
| http://techpubs.sgi.com/library/tpl/cgi-bin/ 
| download.cgi?coll=hdwr&db=bks&docnumber=007-2597-001

Thanks a lot.  Indeed, that complicates a little bit the task.  I'll
have to go back and double-check the IEEE-754 (which I don't have handy
here). 

It is interesting to note that real.[ch] just treats them equally
without distinguishing a QNaN from an SNaN.

-- Gaby



More information about the Gcc mailing list