[PATCH] config/arm: add fallback march for Neoverse V2

Jerin Jacob jerinjacobk at gmail.com
Thu Mar 14 13:05:55 CET 2024


On Thu, Mar 7, 2024 at 1:36 PM Anoob Joseph <anoobj at marvell.com> wrote:
>
> Add march & fallback march for Neoverse V2 to support build with older
> compilers that doesn't support mcpu = 'neoverse-v2'.
>
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>

Acked-by: Jerin Jacob <jerinj at marvell.com>


> ---
>
> Depends-on: series-31402 ("config/arm: avoid mcpu and march conflicts")
>
>  config/arm/meson.build | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 3f5fb0f242..2e655ece05 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -106,8 +106,10 @@ part_number_config_arm = {
>          ]
>      },
>      '0xd4f': {
> +        'march': 'armv9-a',
>          'march_features': ['sve2'],
> -        'compiler_options': ['-mcpu=neoverse-v2'],
> +        'mcpu': 'neoverse-v2',
> +        'fallback_march': 'armv8.5-a',
>          'flags': [
>              ['RTE_MACHINE', '"neoverse-v2"'],
>              ['RTE_ARM_FEATURE_ATOMICS', true],
> --
> 2.25.1
>


More information about the dev mailing list