[PATCH] libgcc libiberty: optimize and modernize standard string and memory functions

2021-06-03 Thread Seija K. via Gcc-patches
This patch optimizes and simplifies many of the standard string functions. Since C99, some of the standard string functions have been changed to use the restrict modifier. diff --git a/libgcc/memcmp.c b/libgcc/memcmp.c index 2348afe1d27f7..74195cf6baf13 100644 --- a/libgcc/memcmp.c +++ b/libgcc/m

Re: [PATCH] libgcc libiberty: optimize and modernize standard string and memory functions

2021-06-09 Thread Jeff Law via Gcc-patches
On 6/3/2021 12:51 PM, Seija K. via Gcc-patches wrote: This patch optimizes and simplifies many of the standard string functions. Since C99, some of the standard string functions have been changed to use the restrict modifier. diff --git a/libgcc/memcmp.c b/libgcc/memcmp.c index 2348afe1d27f7

Re: [PATCH] libgcc libiberty: optimize and modernize standard string and memory functions

2021-06-30 Thread Eric Gallager via Gcc-patches
On Wed, Jun 9, 2021 at 12:10 PM Jeff Law via Gcc-patches wrote: > > > > On 6/3/2021 12:51 PM, Seija K. via Gcc-patches wrote: > > This patch optimizes and simplifies many of the standard string functions. > > > > Since C99, some of the standard string functions have been changed to use > > the res