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: 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.

Thom
Received on 2005-10-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy