Skip to content

Commit b0346e7

Browse files
authored
update names of loongarch64 targets for cross-compilation
1 parent 9c707dc commit b0346e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/prebuild.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ endif ()
13491349
"#define DTB_DEFAULT_ENTRIES 128\n"
13501350
"#define DTB_SIZE 4096\n"
13511351
"#define L2_ASSOCIATIVE 4\n")
1352-
elseif ("${TCORE}" STREQUAL "LOONGSONGENERIC")
1352+
elseif ("${TCORE}" STREQUAL "LA64_GENERIC")
13531353
file(APPEND ${TARGET_CONF_TEMP}
13541354
"#define DTB_DEFAULT_ENTRIES 64\n")
13551355
set(SGEMM_UNROLL_M 2)
@@ -1364,7 +1364,7 @@ endif ()
13641364
set(CGEMM3M_UNROLL_N 8)
13651365
set(ZGEMM3M_UNROLL_M 2)
13661366
set(ZGEMM3M_UNROLL_N 8)
1367-
elseif ("${TCORE}" STREQUAL "LOONGSON2K1000")
1367+
elseif ("${TCORE}" STREQUAL "LA264")
13681368
file(APPEND ${TARGET_CONF_TEMP}
13691369
"#define DTB_DEFAULT_ENTRIES 64\n")
13701370
set(HAVE_LSX 1)
@@ -1380,7 +1380,7 @@ endif ()
13801380
set(CGEMM3M_UNROLL_N 8)
13811381
set(ZGEMM3M_UNROLL_M 8)
13821382
set(ZGEMM3M_UNROLL_N 4)
1383-
elseif ("${TCORE}" STREQUAL "LOONGSON3R5")
1383+
elseif ("${TCORE}" STREQUAL "LA464")
13841384
file(APPEND ${TARGET_CONF_TEMP}
13851385
"#define DTB_DEFAULT_ENTRIES 64\n")
13861386
set(HAVE_LASX 1)

0 commit comments

Comments
 (0)