24f1955d1e
That means a superfluous cast is removed and aliasing through a uint8_t pointer is eliminated. NB: The C standard specifies that a unsigned char pointer may alias while the C standard doesn't include such requirement for uint8_t pointers. Also simplified the loop since a modern C compiler can speed up (i.e. auto-vectorize) it in a similar way. For example, GCC auto-vectorizes it for Haswell using AVX registers while halving the number of instructions in the generated code. Fixes: |
||
---|---|---|
.. | ||
meson.build | ||
net_crc_avx512.c | ||
net_crc_neon.c | ||
net_crc_sse.c | ||
net_crc.h | ||
rte_arp.c | ||
rte_arp.h | ||
rte_ecpri.h | ||
rte_esp.h | ||
rte_ether.c | ||
rte_ether.h | ||
rte_geneve.h | ||
rte_gre.h | ||
rte_gtp.h | ||
rte_higig.h | ||
rte_icmp.h | ||
rte_ip.h | ||
rte_mpls.h | ||
rte_net_crc.c | ||
rte_net_crc.h | ||
rte_net.c | ||
rte_net.h | ||
rte_sctp.h | ||
rte_tcp.h | ||
rte_udp.h | ||
rte_vxlan.h | ||
version.map |