linux-mips
[Top] [All Lists]

Re: csum_ipv6_magic()

To: machida@sm.sony.co.jp (Machida Hiroyuki)
Subject: Re: csum_ipv6_magic()
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Mon, 22 Oct 2001 08:55:35 +0100 (BST)
Cc: ralf@uni-koblenz.de (Ralf Baechle), linux-mips@oss.sgi.com
In-reply-to: <20011022151606V.machida@sm.sony.co.jp> from "Machida Hiroyuki" at Oct 22, 2001 03:16:06 PM
Sender: owner-linux-mips@oss.sgi.com
> I guess that csum_ipv6_magic() in include/asm-mips/checksum.h 
> needs "addu %0, $1" at the next of "sltu $1, %0, $1".
> Without this, you cannot add a carry of the last addtion.

Is that actually needed. The final end around carry cannot itself cause
a second carry.

<Prev in Thread] Current Thread [Next in Thread>