Hi, Jerin Jacob
On 2020/8/18 13:07, Jerin Jacob wrote:
On Tue, Aug 18, 2020 at 9:11 AM Ruifeng Wang <[email protected]> wrote:
Hi,
-----Original Message-----
From: Wei Hu (Xavier) <[email protected]>
Sent: Tuesday, August 18, 2020 10:44 AM
To: [email protected]
Cc: [email protected]; nd <[email protected]>; Honnappa Nagarahalli
<[email protected]>; Ruifeng Wang
<[email protected]>; [email protected]
Subject: [PATCH v3] eal/arm64: update CPU flags
From: "Wei Hu (Xavier)" <[email protected]>
SVE is the next-generation SIMD extension of the ARMv8-A AArch64
instruction set.
The related marco definition can be found in linux kernel:
arch/arm64/include/uapi/asm/hwcap.h
This patch updates cpu SVE flags on ARM64 platform, such as SVE, etc.
Suggested rewording:
ARM64 Linux kernel updated the CPU flags using the HWCAP scheme.
This patch incorporates those changes to the eal library.
Ok, I will update it in V4.
Signed-off-by: Chengwen Feng <[email protected]>
Signed-off-by: Wei Hu (Xavier) <[email protected]>
---
v2 -> v3:
1. Change commit log.
2. Add HWCAP2_FLAGM2 and HWCAP2_FRINT to
rte_cpu_feature_table[].
3. Add the flags for newly added items into enum rte_cpu_flag_t.
v1 -> v2:
Adds more sve-related definition to rte_cpu_feature_table,
sunch as SVE2, etc.
---
lib/librte_eal/arm/include/rte_cpuflags_64.h | 13 +++++++++++++
lib/librte_eal/arm/rte_cpuflags.c | 13 +++++++++++++
2 files changed, 26 insertions(+)
How about updating test_cpuflags() too to cover these new flags?
+1 . Wei, Please update the test_cpuflags() functions for new flags.
OK, I will update this test function in V4.
Thanks
Xavier