@@ -99,6 +99,11 @@ extern gotoblas_t gotoblas_NEOVERSEN1;
9999#else
100100#define gotoblas_NEOVERSEN1 gotoblas_ARMV8
101101#endif
102+ #ifdef DYN_NEOVERSEN2
103+ extern gotoblas_t gotoblas_NEOVERSEN2 ;
104+ #else
105+ #define gotoblas_NEOVERSEN2 gotoblas_ARMV8
106+ #endif
102107#ifdef DYN_CORTEX_A55
103108extern gotoblas_t gotoblas_CORTEXA55 ;
104109#else
@@ -115,6 +120,7 @@ extern gotoblas_t gotoblas_THUNDERX2T99;
115120extern gotoblas_t gotoblas_TSV110 ;
116121extern gotoblas_t gotoblas_EMAG8180 ;
117122extern gotoblas_t gotoblas_NEOVERSEN1 ;
123+ extern gotoblas_t gotoblas_NEOVERSEN2 ;
118124extern gotoblas_t gotoblas_THUNDERX3T110 ;
119125extern gotoblas_t gotoblas_CORTEXA55 ;
120126#endif
@@ -166,8 +172,9 @@ char *gotoblas_corename(void) {
166172 if (gotoblas == & gotoblas_TSV110 ) return corename [ 8 ];
167173 if (gotoblas == & gotoblas_EMAG8180 ) return corename [ 9 ];
168174 if (gotoblas == & gotoblas_NEOVERSEN1 ) return corename [10 ];
169- if (gotoblas == & gotoblas_THUNDERX3T110 ) return corename [11 ];
170- if (gotoblas == & gotoblas_CORTEXA55 ) return corename [12 ];
175+ if (gotoblas == & gotoblas_NEOVERSEN2 ) return corename [12 ];
176+ if (gotoblas == & gotoblas_THUNDERX3T110 ) return corename [13 ];
177+ if (gotoblas == & gotoblas_CORTEXA55 ) return corename [14 ];
171178 return corename [NUM_CORETYPES ];
172179}
173180
@@ -258,6 +265,8 @@ static gotoblas_t *get_coretype(void) {
258265 return & gotoblas_CORTEXA73 ;
259266 case 0xd0c : // Neoverse N1
260267 return & gotoblas_NEOVERSEN1 ;
268+ case 0xd49 :
269+ return & gotoblas_NEOVERSEN2 ;
261270 case 0xd05 : // Cortex A55
262271 return & gotoblas_CORTEXA55 ;
263272 }
0 commit comments