build: modify N_PREFETCH on Arm N2 to achieve best perf 53/39353/8
authorJieqiang Wang <jieqiang.wang@arm.com>
Tue, 4 Jul 2023 04:05:33 +0000 (12:05 +0800)
committerDamjan Marion <dmarion@0xa5.net>
Sun, 1 Oct 2023 21:11:32 +0000 (21:11 +0000)
commitbef2d6da4ea5d67647d310a3cca5ede09385cf05
tree0da214f4f80c74a7efd66f5cb31ffb8c03b2bef3
parente7f34c93b1c928855f88896c5bdd2bc539ee77ae
build: modify N_PREFETCH on Arm N2 to achieve best perf

From GCC 12, march=armv9-a option is supported, which includes the sve
and crc options needed. Furthermore, VPP L3Fwd benchmark results on N2
based servers show that N_PREFETCH set to 6 gives the best performance.

Type: feature

Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Change-Id: I9c4fcad84d4db1189d956dabab22b26d020fbfd6
src/cmake/cpu.cmake