[Top] [All Lists]

Re: MIPS checksum bug

To: Atsushi Nemoto <>
Subject: Re: MIPS checksum bug
From: "Maciej W. Rozycki" <>
Date: Wed, 17 Sep 2008 19:21:23 +0100 (BST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
On Thu, 18 Sep 2008, Atsushi Nemoto wrote:

> >  Hmm, what's the purpose of doing the fold in csum_partial() then?
> Well, maybe odd-byte handling requires 16-bit holded values?

 It should be enough to swap odd and even bytes in the word in the
unaligned path.  Though perhaps extra code to do masking would make it no
shorter/faster than what we have now; however the aligned path would
benefit.  Hmm...


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