Richard Braun, on Fri 12 Aug 2016 21:29:09 +0200, wrote:
> I can take care of this when I have time.
Thanks!
- Are we sure that the direction flag is cleared on entry of the assembly
snippets?
- I don't think the memcmp, strlen and strcmp snippets need a memory clobber?
- the ecx trick in strlen is nice :)
- should we really use assembly snippets for strcpy and strcmp? In my
non-virtualized tests, a simple C loop such as
do { test = *dest++ = *src++; } while(test);
actually goes quite faster thanks to the gcc optimizer, and the
non-rep snippet won't buy virtualized time (and I guess we don't run
str functions on memory-mapped devices anyway...)
Samuel