From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e02328d126cd4ed X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-01-29 09:20:34 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Subject: Re: unaligned trap Date: 29 Jan 2001 17:05:24 GMT Organization: Disorganized Bits Sender: Michal Jaegermann Message-ID: <9547sk$9re$2@pulp.srv.ualberta.ca> References: <951puk$4go$1@nnrp1.deja.com> NNTP-Posting-Host: ellpspace.math.ualberta.ca User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.0.36 (i586)) Xref: supernews.google.com comp.os.linux.alpha:2120 Hartmann Schaffer 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. Michal