[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dealing with unaligned accesses



On Fri, Dec 04, 1998 at 12:19:24PM +0100, Paul Slootman wrote:
> On Thu 03 Dec 1998, Oscar Levi wrote:
> 
> > > Umm, That can't be true, I guess. Unaligned access means that some data is
> > > being loaded from an unaligned address (addr%8 != 0) Alpha want's memory
> > > accesses to be 64bit-aligned. There's some PALcode-stuff to handle this
> 
> This is not quite correct. Alpha wants 64-bit accesses to be aligned at
> 64-bit addresses, 32-bit addresses must be aligned at 32-bit addresses,
> etc.

Your attribution is a bit odd here.  I did not write the above text.

I found the problem after hacking at the code for a few hours.  The
original authors took measures to align their data correctly and then
in the last stop neglected to return the properly aligned address.


Reply to: