Scott,

On Fri, Aug 31, 2012 at 10:07:38AM +0000, Scott Long wrote:
S> +/*
S> + * Optimized bcopy thanks to Luigi Rizzo's investigative work.  Assumes
S> + * non-overlapping regions and 32-byte padding on both src and dst.
S> + */
S> +static __inline int
S> +ixgbe_bcopy(void *_src, void *_dst, int l)
S> +{
S> +    uint64_t *src = _src;
S> +    uint64_t *dst = _dst;
S> +
S> +    for (; l > 0; l -= 32) {
S> +            *dst++ = *src++;
S> +            *dst++ = *src++;
S> +            *dst++ = *src++;
S> +            *dst++ = *src++;
S> +    }
S> +    return (0);
S> +}
S> +

  Shouldn't this go to libkern?

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to