Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Paradis <jrp@jrp.tiac.net>
Subject: Re: This may be a really dumb question
Date: Wed, 24 Sep 1997 01:32:26 -0400	[thread overview]
Message-ID: <91a7260e0a62fb7731cf0ba075f041d5.axp-list@archive.invalid> (raw)

Tom Linden wrote:

> This is not true with the Power PC, BTW The alpha design team didn't
> really know what they were doing.  

I wouldn't go so far as to say *that*!  The Alpha design team made a
particular set of design decisions, all of which were focused on making
the core CPU as fast as possible.  Sometimes this resulted in pushing
boundary cases off onto the programmer.  Other architectures decided to
make things more convenient for the programmer.  What may surprise you
is that nearly *ALL* architectures exact a penalty for unaligned data
access.  They don't always *tell* you about it (i.e. they silently take
extra cycles to do the unaligned access).  Alpha merely makes this
explicit.

> In any event to answer your question,
> its the job of the compiler to properly align things.  If you get this
> message then its really a compiler bug, i.e. the compiler that was used
> to create the object module, which when excuted causes the trap.  

Unfortunately, a C compiler cannot always detect this... especially
if you're doing things like pointer arithmetic.  And there's a LOT of
that in kernel code!

-- 
Jim Paradis   jrp@jrp.tiac.net  
http://www.tiac.net/users/jrp/index.html
"It's not procrastination, it's my new Just-In-Time Workload Management
System!"

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-09-24  5:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-24  5:32 Jim Paradis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-25  0:57 This may be a really dumb question Uncle George
1997-09-24 16:39 Przemek Klosowski
1997-09-24 17:12 ` Tom Linden
1997-09-28  4:23 ` Richard Henderson
1997-09-24  1:28 Jim Paradis
     [not found] <Pine.LNX.3.95.970923051536.527L-100000@sheerx.eni.net>
1997-09-24  1:10 ` Tom Linden
1997-09-24 16:38   ` Volker Barthelmann
1997-09-28  3:39   ` Richard Henderson
1997-09-23 12:15 Sheer Panic
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