descriptionnone
repository URLhttps://github.com/rofl0r/memcpy-test.git
ownerretnyg@gmx.net
last changeSat, 7 May 2022 21:52:54 +0000 (7 21:52 +0000)
last refreshSat, 27 Apr 2024 08:53:40 +0000 (27 10:53 +0200)
content tags
add:
README
pick one of the memcpy implementations or add a file containing a memcpy function called

`mymemcpy`.

it needs to be called this way in order to keep optimizations/system libc from
interfering.

then run
`CC=gcc OPTS="-O3 -funroll-all-loops" ./compare.py impl1.c [impl2.s ... implX.c]`

(both .s and .c suffixes are supported)

if you use a modern CPU using speedstep, you can get much better results by
putting the CPU into "userspace" governor and then lock the CPU freq to 1 GHz.
shortlog
2022-05-07 rofl0rbuild.sh: pass OPTS also to linking stage, so -static... master
2021-10-20 rofl0radd amd memcpy
2021-10-20 rofl0rbuild.sh: warn without opts, don't enforce C99
2021-09-22 rofl0radd 2 of my own memcpy impls
2021-09-22 rofl0radd new compare script
2021-09-22 rofl0rbuild.sh: use debug mode
2021-09-22 rofl0rvarious improvements to memcpy_test
2021-09-22 rofl0rrename some of the memcpy impls
2021-09-06 rofl0radd memcpy_rep_movsb
2021-09-06 rofl0rimprove methodology
2021-09-06 rofl0radd backported cosmopolitan memcpy
2021-09-06 rofl0radd musl 1.1.24 memcpy impls (C and x86_64 asm)
2013-07-28 rofl0rmake usage less awkward
2013-07-28 rofl0radd new experimental musl memcpy
2013-07-28 rofl0radd memcpy of musl 0.9.11
2012-08-04 rofl0rupdate README
...
heads
23 months ago master