Home page logo
/

wireshark logo Wireshark mailing list archives

Fwd: [Wireshark-commits] rev 51173: /trunk/epan/ /trunk/epan/: proto.c -> Use __builtin_ctz for GCC/clang
From: Anders Broman <a.broman () bredband net>
Date: Tue, 06 Aug 2013 23:39:11 +0200

Hi,
Should we use *_BitScanForward*  on Windows?
http://msdn.microsoft.com/en-us/library/wfd9z0bb%28VS.80%29.aspx

Regards
Anders
-------- Ursprungligt meddelande --------
Ämne:   [Wireshark-commits] rev 51173: /trunk/epan/ /trunk/epan/: proto.c
Datum:  Tue, 06 Aug 2013 19:53:55 GMT
Från:   darkjames () wireshark org
Svar till:      wireshark-dev () wireshark org
Till:   wireshark-commits () wireshark org



http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51173

User: darkjames
Date: 2013/08/06 12:53 PM

Log:
 Optimize wrs_count_bitshift()
- Use __builtin_ctz for GCC/clang
 - Do multiply and lookup on other platforms

Directory: /trunk/epan/
  Changes    Path          Action
  +10 -5     proto.c       Modified

___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-request () wireshark org?subject=unsubscribe



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]