lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

URL:
  <http://savannah.nongnu.org/patch/?6460>

                 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

    _______________________________________________________

Details:

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
check.



    _______________________________________________________

File Attachments:


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

<http://savannah.nongnu.org/patch/download.php?file_id=15239>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6460>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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