> -----Original Message-----
> From: Anatoly Burakov <[email protected]>
> Sent: Thursday, October 15, 2020 8:04 PM
> To: [email protected]
> Cc: Jan Viktorin <[email protected]>; Ruifeng Wang
> <[email protected]>; David Christensen <[email protected]>;
> Ray Kinsella <[email protected]>; Neil Horman <[email protected]>;
> Bruce Richardson <[email protected]>; Konstantin Ananyev
> <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]
> Subject: [PATCH v7 03/10] eal: add intrinsics support check infrastructure
>
> Currently, it is not possible to check support for intrinsics that are
> platform-
> specific, cannot be abstracted in a generic way, or do not have support on all
> architectures. The CPUID flags can be used to some extent, but they are only
> defined for their platform, while intrinsics will be available to all code as
> they
> are in generic headers.
>
> This patch introduces infrastructure to check support for certain platform-
> specific intrinsics, and adds support for checking support for IA power
> management-related intrinsics for UMWAIT/UMONITOR and TPAUSE.
>
> Signed-off-by: Anatoly Burakov <[email protected]>
> Acked-by: David Christensen <[email protected]>
> Acked-by: Jerin Jacob <[email protected]>
> ---
>
> Notes:
> v6:
> - Fix the comments
>
> lib/librte_eal/arm/rte_cpuflags.c | 6 +++++
> lib/librte_eal/include/generic/rte_cpuflags.h | 26 +++++++++++++++++++
> .../include/generic/rte_power_intrinsics.h | 12 +++++++++
> lib/librte_eal/ppc/rte_cpuflags.c | 7 +++++
> lib/librte_eal/rte_eal_version.map | 1 +
> lib/librte_eal/x86/rte_cpuflags.c | 12 +++++++++
> 6 files changed, 64 insertions(+)
>
Acked-by: Ruifeng Wang <[email protected]>