| To: | alan@lxorguk.ukuu.org.uk |
|---|---|
| Subject: | Re: csum_ipv6_magic() |
| From: | Machida Hiroyuki <machida@sm.sony.co.jp> |
| Date: | Mon, 22 Oct 2001 19:56:19 +0900 |
| Cc: | ralf@uni-koblenz.de, linux-mips@oss.sgi.com |
| In-reply-to: | <E15vZvr-000138-00@the-village.bc.nu> |
| References: | <20011022151606V.machida@sm.sony.co.jp> <E15vZvr-000138-00@the-village.bc.nu> |
| Sender: | owner-linux-mips@oss.sgi.com |
From: Alan Cox <alan@lxorguk.ukuu.org.uk> Subject: Re: csum_ipv6_magic() Date: Mon, 22 Oct 2001 08:55:35 +0100 (BST) > > 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. I don't know csum_ipv6_magic() in include/asm-mips/checksum.h works fine or not. But if csum_ipv6_magic() doesn't need "addu %0, $1" at next of the final "sltu $1, %0, $1", you can remove the final "sltu $1, %0, $1". --- Hiroyuki Machida Sony Corp. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: csum_ipv6_magic(), Alan Cox |
|---|---|
| Next by Date: | Re: csum_ipv6_magic(), Machida Hiroyuki |
| Previous by Thread: | Re: csum_ipv6_magic(), Alan Cox |
| Next by Thread: | Re: csum_ipv6_magic(), Machida Hiroyuki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |