Skip to content

RFC Optimized memcpy routine

Stafford Horne openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1openrisc: Add optimized memcpy routinearch/openrisc/Kconfig arch/openrisc/TODO.openrisc arch/openrisc/include/asm/string.h +2 more+445 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OpenRISC] [RFC PATCH 0/1 ] Optimized memcpy routine

(resending as there were some reported issues on the mail server)

Hello,

This patch is to show what I have been doing and what methods I have tried in providing an optimized memcpy routine. As you can see from the results in the commit details the numbers are promising and there are 2 word copy optimization options which both perform well. If no opposition for a few days I will update the patch to remove the Kconfig stuff and only use the
word copies + loop unrolls implementation.

The final patch will be made as a pull request to Stefan's github repo.

Thanks
-Stafford

Stafford Horne (1):
openrisc: Add optimized memcpy routine

 arch/openrisc/Kconfig              |  61 ++++++
 arch/openrisc/TODO.openrisc        |   1 -
 arch/openrisc/include/asm/string.h |   5 +
 arch/openrisc/lib/Makefile         |   3 +-
 arch/openrisc/lib/memcpy.c         | 377 +++++++++++++++++++++++++++++++++++++
 5 files changed, 445 insertions(+), 2 deletions(-)
 create mode 100644 arch/openrisc/lib/memcpy.c
Signature · 1 line
2.5.0