From 186a310f920f8cbf21370bdaddcfbbd4ec56a94e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 25 Dec 2022 12:22:48 +0100 Subject: [PATCH] Update dynamic_arm64.c --- driver/others/dynamic_arm64.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/driver/others/dynamic_arm64.c b/driver/others/dynamic_arm64.c index d88b1da40..55e507796 100644 --- a/driver/others/dynamic_arm64.c +++ b/driver/others/dynamic_arm64.c @@ -125,8 +125,10 @@ extern gotoblas_t gotoblas_THUNDERX2T99; extern gotoblas_t gotoblas_TSV110; extern gotoblas_t gotoblas_EMAG8180; extern gotoblas_t gotoblas_NEOVERSEN1; +#ifndef NO_SVE extern gotoblas_t gotoblas_NEOVERSEV1; extern gotoblas_t gotoblas_NEOVERSEN2; +#endif extern gotoblas_t gotoblas_THUNDERX3T110; extern gotoblas_t gotoblas_CORTEXA55; #endif @@ -274,10 +276,12 @@ static gotoblas_t *get_coretype(void) { return &gotoblas_CORTEXA73; case 0xd0c: // Neoverse N1 return &gotoblas_NEOVERSEN1; +#ifndef NO_SVE case 0xd49: return &gotoblas_NEOVERSEN2; case 0xd40: return &gotoblas_NEOVERSEV1; +#endif case 0xd05: // Cortex A55 return &gotoblas_CORTEXA55; }