Re: csum_ipv6_magic()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux