[PATCH 1/2] RISC-V: Add memcpy, memmove, memset and strcmp implementations optimized for size.

ilia.diachkov@optimitech.com ilia.diachkov@optimitech.com
Mon May 20 23:30:00 GMT 2019


Thanks for you notice, Jim. Currently I cannot use git send-email, so I 
try to provide the patches in attachment.

Jim Wilson писал 2019-05-20 16:09:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RISC-V-Add-memcpy-memmove-memset-and-strcmp-implemen.patch
Type: text/x-diff
Size: 9618 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190520/513466e2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-RISC-V-Add-_LITE_EXIT-in-crt0.S.patch
Type: text/x-diff
Size: 1397 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190520/513466e2/attachment-0001.bin>


More information about the Newlib mailing list