Skip to content

Commit 0cb9e9f

Browse files
authored
Remove the VORTEX support bits again for now
1 parent cb61d3b commit 0cb9e9f

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

driver/others/dynamic_arm64.c

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
#include <asm/hwcap.h>
4242
#include <sys/auxv.h>
4343
#endif
44-
#ifdef OS_DARWIN
45-
#include <sys/sysctl.h>
46-
int32_t value;
47-
size_t length=sizeof(value);
48-
#endif
4944

5045
extern gotoblas_t gotoblas_ARMV8;
5146
#ifdef DYNAMIC_LIST
@@ -104,11 +99,6 @@ extern gotoblas_t gotoblas_NEOVERSEN1;
10499
#else
105100
#define gotoblas_NEOVERSEN1 gotoblas_ARMV8
106101
#endif
107-
#ifdef DYN_VORTEX
108-
extern gotoblas_t gotoblas_VORTEX;
109-
#else
110-
#define gotoblas_VORTEX gotoblas_ARMV8
111-
#endif
112102
#else
113103
extern gotoblas_t gotoblas_CORTEXA53;
114104
extern gotoblas_t gotoblas_CORTEXA57;
@@ -121,12 +111,11 @@ extern gotoblas_t gotoblas_TSV110;
121111
extern gotoblas_t gotoblas_EMAG8180;
122112
extern gotoblas_t gotoblas_NEOVERSEN1;
123113
extern gotoblas_t gotoblas_THUNDERX3T110;
124-
extern gotoblas_t gotoblas_VORTEX;
125114
#endif
126115

127116
extern void openblas_warning(int verbose, const char * msg);
128117

129-
#define NUM_CORETYPES 13
118+
#define NUM_CORETYPES 12
130119

131120
/*
132121
* In case asm/hwcap.h is outdated on the build system, make sure
@@ -153,7 +142,6 @@ static char *corename[] = {
153142
"emag8180",
154143
"neoversen1",
155144
"thunderx3t110",
156-
"vortex",
157145
"unknown"
158146
};
159147

@@ -170,7 +158,6 @@ char *gotoblas_corename(void) {
170158
if (gotoblas == &gotoblas_EMAG8180) return corename[ 9];
171159
if (gotoblas == &gotoblas_NEOVERSEN1) return corename[10];
172160
if (gotoblas == &gotoblas_THUNDERX3T110) return corename[11];
173-
if (gotoblas == &gotoblas_VORTEX) return corename[12];
174161
return corename[NUM_CORETYPES];
175162
}
176163

@@ -202,7 +189,6 @@ static gotoblas_t *force_coretype(char *coretype) {
202189
case 9: return (&gotoblas_EMAG8180);
203190
case 10: return (&gotoblas_NEOVERSEN1);
204191
case 11: return (&gotoblas_THUNDERX3T110);
205-
case 12: return (&gotoblas_VORTEX);
206192
}
207193
snprintf(message, 128, "Core not found: %s\n", coretype);
208194
openblas_warning(1, message);
@@ -214,10 +200,6 @@ static gotoblas_t *get_coretype(void) {
214200
char coremsg[128];
215201

216202
#if (!defined OS_LINUX && !defined OS_ANDROID)
217-
#ifdef DARWIN
218-
sysctlbyname("hw.cpufamily",&value,&length,NULL,0);
219-
if (value ==131287967) return CPU_VORTEX;
220-
#endif
221203
return NULL;
222204
#else
223205

0 commit comments

Comments
 (0)