mirror of
https://github.com/ipxe/ipxe
synced 2026-05-04 03:03:43 +03:00
ec22e08db1
The generic TCP/IP checksum implementation requires approximately 10 CPU clocks per byte (as measured using the TSC). Improve this to approximately 0.5 CPU clocks per byte by using "lodsl ; adcl" in an unrolled loop. Signed-off-by: Michael Brown <mcb30@ipxe.org>