dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] Test cases for PortableLib on arm


From: minddog
Subject: Re: [Pnet-developers] Test cases for PortableLib on arm
Date: Fri, 14 Mar 2003 10:00:43 -0700
User-agent: KMail/1.5.9

On Thursday 13 March 2003 20:48, Rhys Weatherley wrote:
> They all seem to be related to floating-point, and I think there are some
> FP issues on ARM, probably related to endian-ness.  I seem to recall from a
> long time ago that ARM uses an odd byte order for double values.

Interesting ...

> Do me a favour and compile and run the attached program on the ARM machine
> and send me the output (make sure that you compile it for ARM and not
> i386).
You got it.

~ # ./endian
float(1.0) => 0x00, 0x00, 0x80, 0x3F
double(1.0) => 0x00, 0x00, 0xF0, 0x3F, 0x00, 0x00, 0x00, 0x00
long(0x0102030405060708) => 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01
~ #



regards,
-- 
--minddog( Adam Ballai )

"I try to take it one day at a time, but several of them attack me at once."
-mistyflip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]