Byte swapping for doubles

2007-02-06 Thread Fred Kiefer
I had an email discussion with Nikolaus Schaller about the code in NSByteOrder.h which does the byte swapping for GNUstep and he convinced me that we may not handle the case of swapping doubles correctly for certain ARM processors. Here the word order in doubles seems to differ from the general byt

Re: Byte swapping for doubles

2007-03-19 Thread Adam Fedor
This has been hanging around in my Inbox for a while. I found this about how the ARM ABI deals with doubles: VFP is a newer floating point architecture for ARM. With respect to endianess, the word endianess of doubles is always the same as the byte endianess of words. This contrast with the