[dpdk-dev] [PATCH v2 4/4] common: add 64-bit log2 function
Thomas Monjalon
thomas at monjalon.net
Thu Dec 20 23:37:17 CET 2018
20/12/2018 13:09, Anatoly Burakov:
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c>
> -static inline uint32_t
> -bsf64(uint64_t v)
> -{
> - return (uint32_t)__builtin_ctzll(v);
> -}
> -
[...]
> --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c
> -static inline uint32_t
> -bsf64(uint64_t v)
> -{
> - return (uint32_t)__builtin_ctzll(v);
> -}
> -
bsf64 code should have been removed in patch 2
More information about the dev
mailing list