File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,6 +332,29 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
332332 set (ZGEMM_UNROLL_M 4)
333333 set (ZGEMM_UNROLL_N 4)
334334 set (SYMV_P 16)
335+ elseif ("${TCORE} " STREQUAL "EMAG8180" )
336+ file (APPEND ${TARGET_CONF_TEMP}
337+ "#define ARMV8\n "
338+ "#define L1_CODE_SIZE\t 32768\n "
339+ "#define L1_CODE_LINESIZE\t 64\n "
340+ "#define L1_CODE_ASSOCIATIVE\t 4\n "
341+ "#define L1_DATA_SIZE\t 32768\n "
342+ "#define L1_DATA_LINESIZE\t 64\n "
343+ "#define L1_DATA_ASSOCIATIVE\t 4\n "
344+ "#define L2_SIZE\t 5262144\n "
345+ "#define L2_LINESIZE\t 64\n "
346+ "#define L2_ASSOCIATIVE\t 8\n "
347+ "#define DTB_DEFAULT_ENTRIES\t 64\n "
348+ "#define DTB_SIZE\t 4096\n " )
349+ set (SGEMM_UNROLL_M 16)
350+ set (SGEMM_UNROLL_N 4)
351+ set (DGEMM_UNROLL_M 8)
352+ set (DGEMM_UNROLL_N 4)
353+ set (CGEMM_UNROLL_M 8)
354+ set (CGEMM_UNROLL_N 4)
355+ set (ZGEMM_UNROLL_M 4)
356+ set (ZGEMM_UNROLL_N 4)
357+ set (SYMV_P 16)
335358 elseif ("${TCORE} " STREQUAL "POWER6" )
336359 file (APPEND ${TARGET_CONF_TEMP}
337360 "#define L1_DATA_SIZE 32768\n "
You can’t perform that action at this time.
0 commit comments