Messages in this thread | | | Date | Mon, 5 Dec 2011 14:36:08 +0000 | From | Alan Cox <> | Subject | Re: x86 memcpy performance |
| |
> Will AVX work on Intel ATOM. I guess not. Then is this now not the > time for having architecture dependant definitions for basic cpu > intensive tasks
It's pretty much a necessity if you want to fine tune some of this.
> > If you want to speed up memcpy, I think your best bet is to find out why it's > > so much slower when src and dst aren't 64-byte aligned compared to each other.
rep mov on most x86 processors is an extremely optimised path. The 64 byte alignment behaviour is to be expected given the processor cache line size.
Alan
| |