| To: | "Liu Hongming (Alan)" <alanliu@trident.com.cn>, linux-mips@linux-mips.org |
|---|---|
| Subject: | Re: need help on unaligned loads,stores! |
| From: | Thomas Horsten <thomas@horsten.com> |
| Date: | Mon, 13 Oct 2003 19:27:07 +0100 |
| In-reply-to: | <15F9E1AE3207D6119CEA00D0B7DD5F6801AC0B85@TMTMS> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <15F9E1AE3207D6119CEA00D0B7DD5F6801AC0B85@TMTMS> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.5.4 |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | need help on unaligned loads,stores!, Liu Hongming (Alan) |
|---|---|
| Next by Date: | Re: need help on unaligned loads,stores!, Geert Uytterhoeven |
| Previous by Thread: | need help on unaligned loads,stores!, Liu Hongming (Alan) |
| Next by Thread: | Re: need help on unaligned loads,stores!, Geert Uytterhoeven |
| Indexes: | [Date] [Thread] [Top] [All Lists] |