CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/11/18 05:17:40
Modified files:
sys/arch/i386/i386: locore.s
Log message:
Small memcpy optimizations
On x86, the xchg operation between reg and mem has an implicit lock
prefix, i.e. on MP, it is a relatively expensive atomic operation.
This is not needed here.
Instead of swapping arguments on the stack, load them in reverse order
and jump further into bcopy (idea by kettenis@).
ok kettenis@
