RFA fix conversion of little-byte big-word floats to doublest

Daniel Jacobowitz drow@false.org
Sat Dec 4 19:39:00 GMT 2004

On Sat, Dec 04, 2004 at 05:25:21PM +0000, Richard Earnshaw wrote:
> I've just been thinking.
> The current code (for both conversions to and from doublest) tries to work 
> by normalizing the word order to match the byte order.  This clearly makes 
> things quite difficult when the number of words involved is variable.
> I think it would be a more tractable problem to change all this around so 
> that the byte order is normalized to match the word order.  This can be 
> done by simply repeating a word-normalization step for each word in the 
> value.
> Thoughts?

That sounds good to me - much simpler.

Daniel Jacobowitz

More information about the Gdb-patches mailing list