Skip to content

Commit 63f7395

Browse files
authored
Move some DYNAMIC_ARCH targets to new DYNAMIC_OLDER option
1 parent 1cbd8f3 commit 63f7395

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

driver/others/dynamic.c

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,27 @@ EXTERN gotoblas_t gotoblas_BANIAS;
5656
EXTERN gotoblas_t gotoblas_ATHLON;
5757

5858
extern gotoblas_t gotoblas_PRESCOTT;
59+
extern gotoblas_t gotoblas_CORE2;
60+
extern gotoblas_t gotoblas_NEHALEM;
61+
extern gotoblas_t gotoblas_BARCELONA;
62+
#ifdef DYNAMIC_OLDER
5963
extern gotoblas_t gotoblas_ATOM;
6064
extern gotoblas_t gotoblas_NANO;
61-
extern gotoblas_t gotoblas_CORE2;
6265
extern gotoblas_t gotoblas_PENRYN;
6366
extern gotoblas_t gotoblas_DUNNINGTON;
64-
extern gotoblas_t gotoblas_NEHALEM;
6567
extern gotoblas_t gotoblas_OPTERON;
6668
extern gotoblas_t gotoblas_OPTERON_SSE3;
67-
extern gotoblas_t gotoblas_BARCELONA;
6869
extern gotoblas_t gotoblas_BOBCAT;
70+
#else
71+
#define gotoblas_ATOM gotoblas_NEHALEM
72+
#define gotoblas_NANO gotoblas_NEHALEM
73+
#define gotoblas_PENRYN gotoblas_CORE2
74+
#define gotoblas_DUNNINGTON gotoblas_CORE2
75+
#define gotoblas_OPTERON gotoblas_CORE2
76+
#define gotoblas_OPTERON_SSE3 gotoblas_CORE2
77+
#define gotoblas_BOBCAT gotoblas_CORE2
78+
#endif
79+
6980
#ifndef NO_AVX
7081
extern gotoblas_t gotoblas_SANDYBRIDGE;
7182
extern gotoblas_t gotoblas_BULLDOZER;

0 commit comments

Comments
 (0)