Rockbox mail archive
Subject: Re: question: pointer alignment on ColdFire and SH7034
Re: question: pointer alignment on ColdFire and SH7034
Frederic Devernay wrote:
> On the processors we use (ColdFire and SH7034), is the following
> instruction authorized, even if s and d are not aligned?
> ((*(long long *)(d)) = (*(long long *)(s)))
Unaligned accesses will be slower than usual accesses on Coldfire, and outright
crash the SH processors with an illegal address error, so no, not authorized.
Received on Wed Oct 26 13:49:25 2005
Page was last modified "Jan 10 2012" The Rockbox Crew