[dpdk-dev] [PATCH v8 18/18] acl: add checks for max SIMD bitwidth

Ananyev, Konstantin konstantin.ananyev at intel.com
Fri Oct 16 10:54:58 CEST 2020


> When choosing a vector path to take, an extra condition must be
> satisfied to ensure the max SIMD bitwidth allows for the CPU enabled
> path. These checks are added in the check alg helper functions.
> 
> Cc: Konstantin Ananyev <konstantin.ananyev at intel.com>
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> 
> ---
> v8:
>   - Added AVX512X32 into default options for get best alg function.
>   - Updated doc to reflect the above change.
> v7:
>   - Removed global variable for max SIMD bitwidth.
>   - Added helper function for checking AVX512 cpu flags.
>   - Separated condition checking for the AVX512 algorithms to allow for
>     checking 256/512 max SIMD bitwidth, respectively.
>   - Added to docs to reflect the added changes in algorithm selection.
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 2.22.0



More information about the dev mailing list