[Top][All Lists]

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

[lwip-devel] [patch #6460] inet_chksum minor optimizations

From: Bill Auerbach
Subject: [lwip-devel] [patch #6460] inet_chksum minor optimizations
Date: Tue, 11 Mar 2008 21:39:00 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080201 Firefox/


                 Summary: inet_chksum minor optimizations
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: billauerbach
            Submitted on: Tuesday 03/11/2008 at 17:38
                Category: None
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



inet_chksum.c - Remove unnecessary while loops folding upper and lower
checksum words.  Unroll 4 other while loops since the test to run the loop is
about as expensive as just doing the fold.

Those who added comments to the optimization thread could review as a double


File Attachments:

Date: Tuesday 03/11/2008 at 17:38  Name: inet_chksum_c.diff  Size: 5kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]