build.sh: pass OPTS also to linking stage, so -static can be passed
[rofl0r-memcpy-test.git] / README
blob750882f0cee3b1f894067d09cb44295c41b598a9
1 pick one of the memcpy implementations or add a file containing a memcpy function called
3 `mymemcpy`.
5 it needs to be called this way in order to keep optimizations/system libc from
6 interfering.
8 then run
9 `CC=gcc OPTS="-O3 -funroll-all-loops" ./compare.py impl1.c [impl2.s ... implX.c]`
11 (both .s and .c suffixes are supported)
13 if you use a modern CPU using speedstep, you can get much better results by
14 putting the CPU into "userspace" governor and then lock the CPU freq to 1 GHz.