From: Leo Liang <ycliang@andestech.com>
To: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: <rick@andestech.com>, <u-boot@lists.denx.de>,
Sam Grove <sgrove@mips.com>, Chao-ying Fu <cfu@mips.com>,
Mukunda Aprameya <maprameya@mips.com>,
"Umesh Kalappa" <ukalappa@mips.com>,
Djordje Todorovic <djordje.todorovic@htecgroup.com>,
Mallikarjuna Gouda <mgouda@mips.com>,
Vaibhav Chauthmal <vchauthmal@mips.com>,
Swapnil Agrawal <sagrawal@mips.com>,
<felix.chong@codethink.co.uk>
Subject: Re: [PATCH] arch/riscv/lib: update memmove and memcpy for big-endian
Date: Tue, 12 Aug 2025 14:00:13 +0800 [thread overview]
Message-ID: <aJrYbRn8UOAhit2Y@swlinux02> (raw)
In-Reply-To: <20250807164933.40564-1-ben.dooks@codethink.co.uk>
On Thu, Aug 07, 2025 at 05:49:33PM +0100, Ben Dooks wrote:
> Change the shift patterns for the unaligned memory move and copy code
> to deal with big-endian by definign macros to change the shfit left and
> right to go the opposite way.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
> arch/riscv/lib/memcpy.S | 12 ++++++++++--
> arch/riscv/lib/memmove.S | 12 ++++++++++--
> 2 files changed, 20 insertions(+), 4 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
prev parent reply other threads:[~2025-08-12 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 16:49 [PATCH] arch/riscv/lib: update memmove and memcpy for big-endian Ben Dooks
2025-08-12 6:00 ` Leo Liang [this message]
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=aJrYbRn8UOAhit2Y@swlinux02 \
--to=ycliang@andestech.com \
--cc=ben.dooks@codethink.co.uk \
--cc=cfu@mips.com \
--cc=djordje.todorovic@htecgroup.com \
--cc=felix.chong@codethink.co.uk \
--cc=maprameya@mips.com \
--cc=mgouda@mips.com \
--cc=rick@andestech.com \
--cc=sagrawal@mips.com \
--cc=sgrove@mips.com \
--cc=u-boot@lists.denx.de \
--cc=ukalappa@mips.com \
--cc=vchauthmal@mips.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.