From: Leo Liang <ycliang@andestech.com>
To: Yu Chien Peter Lin <peterlin@andestech.com>
Cc: <u-boot@lists.denx.de>, <rick@andestech.com>,
<kconsul@ventanamicro.com>, <bmeng@tinylab.org>
Subject: Re: [PATCH] riscv: Add Zbb support for building U-Boot
Date: Tue, 17 Oct 2023 15:30:22 +0800 [thread overview]
Message-ID: <ZS43-GLCq0P75odV@swlinux02> (raw)
In-Reply-To: <20230809104930.7462-1-peterlin@andestech.com>
On Wed, Aug 09, 2023 at 06:49:30PM +0800, Yu Chien Peter Lin wrote:
> This patch adds ISA string to the -march to generate zbb instructions
> for U-Boot binaries, along with optimized string functions introduced
> from Linux kernel.
>
> Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
> ---
> arch/riscv/Kconfig | 92 +++++++++++++++++++++++++++++
> arch/riscv/Makefile | 5 +-
> arch/riscv/include/asm/string.h | 18 ++++++
> arch/riscv/lib/Makefile | 3 +
> arch/riscv/lib/strcmp_zbb.S | 81 +++++++++++++++++++++++++
> arch/riscv/lib/strlen_zbb.S | 101 ++++++++++++++++++++++++++++++++
> arch/riscv/lib/strncmp_zbb.S | 94 +++++++++++++++++++++++++++++
> 7 files changed, 393 insertions(+), 1 deletion(-)
> create mode 100644 arch/riscv/lib/strcmp_zbb.S
> create mode 100644 arch/riscv/lib/strlen_zbb.S
> create mode 100644 arch/riscv/lib/strncmp_zbb.S
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
next prev parent reply other threads:[~2023-10-17 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 10:49 [PATCH] riscv: Add Zbb support for building U-Boot Yu Chien Peter Lin
2023-10-17 7:30 ` Leo Liang [this message]
2023-10-17 15:38 ` Tom Rini
2023-10-19 9:24 ` Leo Liang
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=ZS43-GLCq0P75odV@swlinux02 \
--to=ycliang@andestech.com \
--cc=bmeng@tinylab.org \
--cc=kconsul@ventanamicro.com \
--cc=peterlin@andestech.com \
--cc=rick@andestech.com \
--cc=u-boot@lists.denx.de \
/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