File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,29 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
106
106
file (APPEND ${TARGET_CONF_TEMP}
107
107
"#define ${TCORE} \n "
108
108
"#define CHAR_CORENAME \" ${TCORE} \"\n " )
109
- if ("${TCORE} " STREQUAL "ARMV7" )
109
+ if ("${TCORE} " STREQUAL "CORE2" )
110
+ file (APPEND ${TARGET_CONF_TEMP}
111
+ "#define L1_DATA_SIZE\t 32768\n "
112
+ "#define L1_DATA_LINESIZE\t 64\n "
113
+ "#define L2_SIZE\t 1048576\n "
114
+ "#define L2_LINESIZE\t 64\n "
115
+ "#define DTB_DEFAULT_ENTRIES\t 256\n "
116
+ "#define DTB_SIZE\t 4096\n "
117
+ "#define HAVE_CMOV\n "
118
+ "#define HAVE_MMX\n "
119
+ "#define HAVE_SSE\n "
120
+ "#define HAVE_SSE2\n "
121
+ "#define HAVE_SSE3\n "
122
+ "#define HAVE_SSSE3\n " )
123
+ set (SGEMM_UNROLL_M 8 )
124
+ set (SGEMM_UNROLL_N 4 )
125
+ set (DGEMM_UNROLL_M 4 )
126
+ set (DGEMM_UNROLL_N 4 )
127
+ set (CGEMM_DEFAULT_UNROLL_M 4 )
128
+ set (CGEMM_DEFAULT_UNROLL_N 2 )
129
+ set (ZGEMM_DEFAULT_UNROLL_M 2 )
130
+ set (ZGEMM_DEFAULT_UNROLL_N 2 )
131
+ elseif ("${TCORE} " STREQUAL "ARMV7" )
110
132
file (APPEND ${TARGET_CONF_TEMP}
111
133
"#define L1_DATA_SIZE\t 65536\n "
112
134
"#define L1_DATA_LINESIZE\t 32\n "
You can’t perform that action at this time.
0 commit comments