Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: 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: 2005-10-26

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.

Thom
Received on Wed Oct 26 13:49:25 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa