Re: [PATCH 03/13] [RFC] ipath copy routines

Andrew Morton
2005-12-17T20:41:10Z

Roland Dreier <rolandd@cisco.com> wrote:
>
> + .globl ipath_dwordcpy
> +/* rdi destination, rsi source, rdx count */
> +ipath_dwordcpy:
> + movl %edx,%ecx
> + shrl $1,%ecx
> + andl $1,%edx
> + cld
> + rep
> + movsq
> + movl %edx,%ecx
> + rep
> + movsd
> + ret

err, we have a portability problem.