> We have talked about double alignment before, could this be the
> problem? Doubles must be 8 byte aligned on CE. Maybe va_arg doesn't to
> align properly to the next 8 byte boundary when it's retrieving a
> double? Either that, or the double isn't even stored with an 8 byte
> alignment when passed in varargs.

I've done some debugging, and if I understand correctly, the double is
not stored with an 8-byte alignment in the va_list. Then it is (correctly)
passed through registers, then stored again on the stack, sometimes
aligned properly, sometimes not.

So I don't know what happens then, but the alignment is not what it's
supposed to be.

-- 
Pierre Ynard



      

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to