Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: unaligned traps question
Date: Wed, 16 Oct 2002 21:47:58 -0400	[thread overview]
Message-ID: <3DAE16CE.93DBCF71@voicenet.com> (raw)
In-Reply-To: 3DADACDB.8000401@iplink.net

This has the smell of being possible. I you have a (older) machine that was unable to
fetch bytes/shorts because there was no machine lang instructions to do so. The gcc
compiler would have to generate the appropriate  extract/insert code for each usage of
byte/short.  Not sure how the code would handle the odd address though. But
none-the-less those kernels would only see faults for ints,or longs ( as there were no
short fetches on a machine level )

Now there are machines that can fetch shorts, and bytes on a single instruction level. I
suspect that there wont be an alignment problem with byte, but there is the possibility
that  the alignment fault correction code in the kernel as it relates to the new 'short'
load/store's may not have been extensively tested. A Hypothesis to be sure.

In either case, can u post some of the particulars. ie machine type, gcc version, gcc
compile options?

/gat

BTW do u get an alignment messages in syslogd's /var/log/messages file?

alvin wrote:

>
>
> I spent a lot of time tracking this one down and could only come to the
> conclusion that the unaligned trap handler was not working correctly.




  parent reply	other threads:[~2002-10-17  1:49 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
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 [this message]
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