Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Paul Repacholi <prep@prep.synonet.com>
Subject: Re: unaligned trap
Date: 30 Jan 2001 20:49:59 +0800	[thread overview]
Message-ID: <87bssp6w7c.fsf@prep.synonet.com> (raw)
In-Reply-To: 9547sk$9re$2@pulp.srv.ualberta.ca

michal@gortel.phys.ualberta.ca writes:

> Hartmann Schaffer <hs@paradise.nirvananet> wrote:
> > you probably have a first generation alpha (21064?):  they have only
> > full word load and store instructions.  halfword and byte instructions
> > were added with later generations.
> 
> Nope.  A presence of new instructions in processors of a later
> generation, which allow for a "native" access to smaller chunks of
> memory, makes for more compact and faster machine code to get to these
> (no need for stack games) but does not really loosen up alignment
> requirements.  Fetching 'int' from an unaligned memory address will earn
> you the same "unaligned trap" like before.  Maybe fixup routine can be
> made faster.

No ,the load unaligned and friend cost speed. See the design papers.
They should only be used for bus access if possible.

-- 
Paul Repacholi                               1 Crescent Rd.,
+61 (08) 9257-1001                           Kalamunda.
                                             West Australia 6076
Raw, Cooked or Well-done, it's all half baked.


  reply	other threads:[~2001-01-30 12:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-28 18:55 unaligned trap klimadmin
2001-01-28 21:25 ` Hartmann Schaffer
2001-01-28 23:56   ` klimadmin
2001-01-29  2:13     ` JJ
2001-01-29 17:05   ` michal
2001-01-30 12:49     ` Paul Repacholi [this message]
2001-01-29 16:56 ` michal
  -- strict thread matches above, loose matches on Subject: below --
1999-12-01  5:00 Unaligned trap Idar Tollefsen
1999-12-01  5:00 ` Sashka Nochkin
1999-12-01  5:00   ` Idar Tollefsen
1999-12-02  5:00     ` Sashka Nochkin
1999-12-01  5:00 ` Pierre Asselin
1999-12-02  5:00   ` Idar Tollefsen
1999-12-02  5:00     ` Alex Rhomberg
1999-12-02  5:00       ` Idar Tollefsen
1999-12-03  5:00         ` Alex Rhomberg
1999-12-02  5:00 ` Michal Jaegermann
1999-12-02  5:00   ` Idar Tollefsen
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