This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 1/2] RISC-V: Add memcpy, memmove, memset and strcmp implementations optimized for size.
- From: Jim Wilson <jimw at sifive dot com>
- To: ilia dot diachkov at optimitech dot com
- Cc: Newlib <newlib at sourceware dot org>
- Date: Mon, 20 May 2019 14:09:45 -0700
- Subject: Re: [PATCH 1/2] RISC-V: Add memcpy, memmove, memset and strcmp implementations optimized for size.
- References: <30172b5bd911a7bf61b800568cfd7fb1@optimitech.com>
On Fri, May 17, 2019 at 4:53 PM <ilia.diachkov@optimitech.com> wrote:
> This patch adds implementations of memcpy, memmove, memset and strcmp
> optimized for size. The changes have been tested in
> riscv/riscv-gnu-toolchain by riscv-dejagnu with
> riscv-sim.exp/riscv-sim-nano.exp.
The patch was corrupted by the mailer. Long lines were line wrapped.
Lines that should have only a single space are now blank lines. Line
that should start with one space now have two. Using git send-email
should work better if you can use that. Otherwise, you probably need
to include the patches as attachments instead of trying to insert the
text of the patch into an email.
Optimitech is working on a contract for SiFive, so having the SiFive
name in the copyright statements is OK. Though I don't mind if the
Optimitech name is in there too.
I tested an earlier version of this (without the memmove-stub.c fix),
and it gets a thumbs up from me, though I'm not an official newlib
maintainer so can't approve it.
Jim