@@ -764,18 +764,53 @@ char *gotoblas_corename(void) {
764
764
if (gotoblas == & gotoblas_NORTHWOOD ) return corename [ 3 ];
765
765
if (gotoblas == & gotoblas_PRESCOTT ) return corename [ 4 ];
766
766
if (gotoblas == & gotoblas_BANIAS ) return corename [ 5 ];
767
- if (gotoblas == & gotoblas_ATOM ) return corename [ 6 ];
767
+ if (gotoblas == & gotoblas_ATOM )
768
+ #ifdef DYNAMIC_OLDER
769
+ return corename [ 6 ];
770
+ #else
771
+ return corename [10 ];
772
+ #endif
768
773
if (gotoblas == & gotoblas_CORE2 ) return corename [ 7 ];
769
- if (gotoblas == & gotoblas_PENRYN ) return corename [ 8 ];
770
- if (gotoblas == & gotoblas_DUNNINGTON ) return corename [ 9 ];
774
+ if (gotoblas == & gotoblas_PENRYN )
775
+ #ifdef DYNAMIC_OLDER
776
+ return corename [ 8 ];
777
+ #else
778
+ return corename [7 ];
779
+ #endif
780
+ if (gotoblas == & gotoblas_DUNNINGTON )
781
+ #ifdef DYNAMIC_OLDER
782
+ return corename [ 9 ];
783
+ #else
784
+ return corename [7 ];
785
+ #endif
771
786
if (gotoblas == & gotoblas_NEHALEM ) return corename [10 ];
772
787
if (gotoblas == & gotoblas_ATHLON ) return corename [11 ];
773
- if (gotoblas == & gotoblas_OPTERON_SSE3 ) return corename [12 ];
774
- if (gotoblas == & gotoblas_OPTERON ) return corename [13 ];
788
+ if (gotoblas == & gotoblas_OPTERON_SSE3 )
789
+ #ifdef DYNAMIC_OLDER
790
+ return corename [12 ];
791
+ #else
792
+ return corename [7 ];
793
+ #endif
794
+ if (gotoblas == & gotoblas_OPTERON )
795
+ #ifdef DYNAMIC_OLDER
796
+ return corename [13 ];
797
+ #else
798
+ return corename [7 ];
799
+ #endif
775
800
if (gotoblas == & gotoblas_BARCELONA ) return corename [14 ];
776
- if (gotoblas == & gotoblas_NANO ) return corename [15 ];
801
+ if (gotoblas == & gotoblas_NANO )
802
+ #ifdef DYNAMIC_OLDER
803
+ return corename [15 ];
804
+ #else
805
+ return corename [10 ];
806
+ #endif
777
807
if (gotoblas == & gotoblas_SANDYBRIDGE ) return corename [16 ];
778
- if (gotoblas == & gotoblas_BOBCAT ) return corename [17 ];
808
+ if (gotoblas == & gotoblas_BOBCAT )
809
+ #ifdef DYNAMIC_OLDER
810
+ return corename [17 ];
811
+ #else
812
+ return corename [7 ];
813
+ #endif
779
814
if (gotoblas == & gotoblas_BULLDOZER ) return corename [18 ];
780
815
if (gotoblas == & gotoblas_PILEDRIVER ) return corename [19 ];
781
816
if (gotoblas == & gotoblas_HASWELL ) return corename [20 ];
@@ -787,6 +822,7 @@ char *gotoblas_corename(void) {
787
822
}
788
823
789
824
825
+
790
826
static gotoblas_t * force_coretype (char * coretype ){
791
827
792
828
int i ;
0 commit comments