]> git.droids-corp.org - dpdk.git/commit
common/cnxk: update CPU directive in NPA assembly code
authorAshwin Sekhar T K <asekhar@marvell.com>
Tue, 30 Nov 2021 05:48:09 +0000 (11:18 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 6 Jan 2022 14:05:25 +0000 (15:05 +0100)
commit469d2b2e4464f34d01534f1d590fca3b1b7b9db3
tree6eeed06cbb7cb946bd761180a7f5c55e2e8fc191
parent09cad550d608af67d6268f91ef2ca68e21398e31
common/cnxk: update CPU directive in NPA assembly code

Use arch_extension instead of .cpu directive in NPA assembly code
snippets. Using .cpu directive with generic causes it to override
the micro architecture selected by march,mcpu.
For example if march=armv8.5-a+crypto+sve2 provided then the .cpu
directive overrides it to generic+crypto+sve2, use arch_extension
to get the expected result.

Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_npa.h