Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: This may be a really dumb question
Date: Sat, 27 Sep 1997 21:23:16 -0700 (PDT)	[thread overview]
Message-ID: <199709280423.VAA25517@dot.cygnus.com> (raw)
In-Reply-To: <199709241639.MAA18235@rrdjazz.nist.gov>

> that is why initial Alpha architecture
> simply dropped unaligned loads (BTW, they were added in a recent
> revision).

I don't think so; only byte/word load/store.

> Sometimes, however, unaligned loads are necessary. In particular,
> the Ethernet packets, which are delivered by hardware as a binary block,
> have internal parts that aren't aligned. If one just grabs them,
> one ends up with an unaligned load. Of course it is possible to copy
> them byte by byte to an aligned buffer and access it there, but this
> requires special-case code in the driver, which wasn't done.

Actually it is IPX not Ethernet itself that is the culprit
here, I beleive.  Certainly IP does not have this problem.

When the subject came up sometime back about putting in explicit
unaligned load sequences (which, btw, don't require a separate
buffer) to handle this, it was vetoed by On High. 

The rationale?  "I won't slow down the important case (IP) for
the unimportant case (IPX)."

r~

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

  parent reply	other threads:[~1997-09-28  4:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-24 16:39 This may be a really dumb question Przemek Klosowski
1997-09-24 17:12 ` Tom Linden
1997-09-28  4:23 ` Richard Henderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-25  0:57 Uncle George
1997-09-24  5:32 Jim Paradis
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