From: Thomas Horsten <thomas@horsten.com>
To: "Liu Hongming (Alan)" <alanliu@trident.com.cn>,
linux-mips@linux-mips.org
Subject: Re: need help on unaligned loads,stores!
Date: Mon, 13 Oct 2003 19:27:07 +0100 [thread overview]
Message-ID: <200310131927.07171.thomas@horsten.com> (raw)
In-Reply-To: <15F9E1AE3207D6119CEA00D0B7DD5F6801AC0B85@TMTMS>
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
next prev parent reply other threads:[~2003-10-13 18:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-13 1:44 need help on unaligned loads,stores! Liu Hongming (Alan)
2003-10-13 18:27 ` Thomas Horsten [this message]
2003-10-13 19:34 ` Geert Uytterhoeven
2003-10-13 20:49 ` Ralf Baechle
2003-10-13 21:15 ` Thomas Horsten
2003-10-13 21:37 ` Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2003-10-14 1:18 Liu Hongming (Alan)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310131927.07171.thomas@horsten.com \
--to=thomas@horsten.com \
--cc=alanliu@trident.com.cn \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox