@@ -99,6 +99,11 @@ extern gotoblas_t gotoblas_NEOVERSEN1;
99
99
#else
100
100
#define gotoblas_NEOVERSEN1 gotoblas_ARMV8
101
101
#endif
102
+ #ifdef DYN_NEOVERSEN2
103
+ extern gotoblas_t gotoblas_NEOVERSEN2 ;
104
+ #else
105
+ #define gotoblas_NEOVERSEN2 gotoblas_ARMV8
106
+ #endif
102
107
#ifdef DYN_CORTEX_A55
103
108
extern gotoblas_t gotoblas_CORTEXA55 ;
104
109
#else
@@ -115,6 +120,7 @@ extern gotoblas_t gotoblas_THUNDERX2T99;
115
120
extern gotoblas_t gotoblas_TSV110 ;
116
121
extern gotoblas_t gotoblas_EMAG8180 ;
117
122
extern gotoblas_t gotoblas_NEOVERSEN1 ;
123
+ extern gotoblas_t gotoblas_NEOVERSEN2 ;
118
124
extern gotoblas_t gotoblas_THUNDERX3T110 ;
119
125
extern gotoblas_t gotoblas_CORTEXA55 ;
120
126
#endif
@@ -166,8 +172,9 @@ char *gotoblas_corename(void) {
166
172
if (gotoblas == & gotoblas_TSV110 ) return corename [ 8 ];
167
173
if (gotoblas == & gotoblas_EMAG8180 ) return corename [ 9 ];
168
174
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 ];
171
178
return corename [NUM_CORETYPES ];
172
179
}
173
180
@@ -258,6 +265,8 @@ static gotoblas_t *get_coretype(void) {
258
265
return & gotoblas_CORTEXA73 ;
259
266
case 0xd0c : // Neoverse N1
260
267
return & gotoblas_NEOVERSEN1 ;
268
+ case 0xd49 :
269
+ return & gotoblas_NEOVERSEN2 ;
261
270
case 0xd05 : // Cortex A55
262
271
return & gotoblas_CORTEXA55 ;
263
272
}
0 commit comments