From: George France <france@handhelds.org>
To: axp-list@redhat.com, alvin <alvin@iplink.net>
Subject: Re: unaligned traps question
Date: Tue, 15 Oct 2002 15:33:20 -0400 [thread overview]
Message-ID: <02101515332004.04054@shadowfax.middleearth> (raw)
In-Reply-To: <3DAC5D76.3060101@iplink.net>
On Tuesday 15 October 2002 14:24, alvin wrote:
> Michal Jaegermann wrote:
> > On Tue, Oct 15, 2002 at 11:39:36AM -0400, George France wrote:
> >>Alignment traps are not a serious bug but will make the code run
> >> significantly slower. They are mostly really annoying.
> >
> > Let me add an example when such trap indictates something more serious
> > instead of beeing just an instance of a somewhat careless programming.
> > Cases like that were observed in "real life" instead of beeing
> > artificially constructed.
>
> [snip]
>
> This brings to mind a question.
>
> Are unaligned accesses guarenteed to generate an error or the correct
> results. Although the correct results may require some huge amount of
> processing on the part of the kernel to repair the problem.
On the Alpha Architecture, unaligned accesses are guarenteed to generate
an error. The error is trapped by the kernel and fixed by the kernel. The
kernel will always make the correct fix for alignment at cost of cpu cycles.
Beest Regards,
--George
next prev parent reply other threads:[~2002-10-15 19:33 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-15 0:50 unaligned traps question Ram Viswanadha
2002-10-15 1:38 ` Michal Jaegermann
2002-10-15 2:03 ` Uncle George
2002-10-15 15:39 ` George France
2002-10-15 16:46 ` Michal Jaegermann
2002-10-15 18:24 ` alvin
2002-10-15 19:33 ` George France [this message]
2002-10-15 19:40 ` Falk Hueffner
[not found] ` <3DAC6EF2.BC962839@voicenet.com>
2002-10-16 18:15 ` alvin
2002-10-16 19:18 ` George France
2002-10-16 19:45 ` Falk Hueffner
2002-10-16 20:08 ` George France
2002-10-17 18:37 ` Falk Hueffner
2002-10-16 20:23 ` Michal Jaegermann
2002-10-16 21:30 ` alvin
2002-10-17 1:47 ` Uncle George
2002-10-15 18:08 ` Uncle George
2002-10-15 19:29 ` George France
2002-10-15 20:10 ` Uncle George
2002-10-15 20:46 ` George France
2002-10-15 15:33 ` George France
2002-10-17 22:17 ` Ram Viswanadha
2002-10-18 15:36 ` Michal Jaegermann
2002-10-18 17:17 ` Ram Viswanadha
2002-10-18 18:47 ` Michal Jaegermann
[not found] <673E0A4C-E1DF-11D6-AC80-000393768D2C@mcgillsociety.org>
2002-10-17 15:50 ` George France
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox