Convert IPv4 string representation to a 32-bit number with SSE instructions
Summary
Converting IPv4 strings to 32-bit integers with SSE intrinsics: benchmarks against libleeloo and inet_aton (~20M conversions/s) and the SIMD parsing tricks that beat conventional implementations.
- Published
- Collected
--- id: 4575 title: "Convert IPv4 string representation to a 32-bit number with SSE instructions" source_domain: blog.quarkslab.com source_url: "https://blog.quarkslab.com/convert-ipv4-string-representation-to-a-32-bit-number-with-sse-instructions.html" published_at: "2014-05-11T22:00:00Z" tags: ["c", "performance", "optimization", "simd", "sse", "ipv4"] phying_url: "https://phying.com/item/4575" lang: en --- # Convert IPv4 string representation to a 32-bit number with SSE instructions ## Summary Converting IPv4 strings to 32-bit integers with SSE intrinsics: benchmarks against libleeloo and inet_aton (~20M conversions/s) and the SIMD parsing tricks that beat conventional implementations. ## Intelligence Metadata - **Sources:** blog.quarkslab.com - **Published:** 2014-05-11T22:00:00Z - **Original:** https://blog.quarkslab.com/convert-ipv4-string-representation-to-a-32-bit-number-with-sse-instructions.html - **Phying News:** https://phying.com/item/4575