svn commit: r214210 - head/sys/boot/i386/boot2

2010-10-22 Thread Roman Divacky
Author: rdivacky Date: Fri Oct 22 18:07:21 2010 New Revision: 214210 URL: http://svn.freebsd.org/changeset/base/214210 Log: Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. Approved by:rpaulo (mentor) Reviewed by:jhb Modified:

Re: svn commit: r214210 - head/sys/boot/i386/boot2

2010-10-22 Thread Warner Losh
Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. I think I put the memcpy code in when I was porting to ARM to reduce the diffs since it is needed there... Warner ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r214210 - head/sys/boot/i386/boot2

2010-10-22 Thread Dimitry Andric
On 2010-10-22 20:46, Warner Losh wrote: Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little. I think I put the memcpy code in when I was porting to ARM to reduce the diffs since it is needed there... Due to alignment problems otherwise?

Re: svn commit: r214210 - head/sys/boot/i386/boot2

2010-10-22 Thread Warner Losh
In message: 4cc1ebeb.2020...@freebsd.org Dimitry Andric d...@freebsd.org writes: : On 2010-10-22 20:46, Warner Losh wrote: : Avoid using memcpy() for copying 32bit chunks. This shrinks : the resulting code a little. : : I think I put the memcpy code in when I was porting to