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

Andrew Morton akpm at osdl.org
Sat Dec 17 12:38:33 PST 2005


Roland Dreier <rolandd at 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.



More information about the general mailing list