Re: need help on unaligned loads,stores!

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

 



On Monday 13 October 2003 02:44, Liu Hongming (Alan) wrote:

> I am porting linux for a cpu that doesnt support unaligned loads/stores
> instructions.
>
> when using memcpy in arch/mips/memcpy.S,it will not work on these
> instructions.
>
> Any one could help me to deal with this? Have you ever ported linux for
> this kind cpu?
>
> And anyone could tell me which cpu doesnt support these instructions
> either,and has
>
> been ported for linux?

Almost all MIPS CPU's are like this, and don't support unaligned accesses.

The memcpy in arch/mips/lib/memcpy.S already handles this (by copying the end 
and beginning using byte-accesses if not aligned).

Best regards,

Thomas



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux