Rockbox mail archiveSubject: Re: question: pointer alignment on ColdFire and SH7034
Re: question: pointer alignment on ColdFire and SH7034
From: Thom Johansen <thomj_at_pvv.ntnu.no>
Date: Wed, 26 Oct 2005 13:50:20 +0200
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 2005-10-26