Hi Gilles,

I verify the problem comes from the aligment, do you know if there is a
better way rather than to cast the 64 bits types in two 32 bits. For example
an option in the ABI to align the struct.

Thankfully,

Cyril

2010/7/19 Gilles Chanteperdrix <gilles.chanteperd...@gmail.com>

> Gilles Chanteperdrix wrote:
> > Cyril Wallois wrote:
> >> Hi Gilles,
> >>
> >> Thanks for your help.
> >>
> >> Here is the disassembly of the function rt_icmp_echo_reply with the
> >> different ABI.
> >
> > So, this confirms that the armv5 version uses ldrd, whereas the armv4
> > version uses ldm (old alias for ldmia).
> >
> > I did a quick check, and could not find the alignment constraints for
> > ldrd in my ARM assembly documentation, though.
>
> Ok. It is indicated clearly in the ARM ARM. ldrd address  should be
> aligned on an 8 bytes boundary on pre-armv6.
>
> --
>                                             Gilles.
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to