Skip to content

Commit 7c18398

Browse files
authored
Increase assumed L2 sizes for RISCV X280 / ZVL256B and for SVE-capable ARM64
1 parent 9c43301 commit 7c18398

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/prebuild.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ endif ()
13101310
file(APPEND ${TARGET_CONF_TEMP}
13111311
"#define L1_DATA_SIZE\t32768\n"
13121312
"#define L1_DATA_LINESIZE\t64\n"
1313-
"#define L2_SIZE\t262144\n"
1313+
"#define L2_SIZE\t1048576\n"
13141314
"#define L2_LINESIZE\t64\n"
13151315
"#define DTB_DEFAULT_ENTRIES\t64\n"
13161316
"#define DTB_SIZE\t4096\n"
@@ -1429,7 +1429,7 @@ endif ()
14291429
file(APPEND ${TARGET_CONF_TEMP}
14301430
"#define L1_DATA_SIZE 65536\n"
14311431
"#define L1_LINESIZE 32 \n"
1432-
"#define L2_SIZE 262144\n"
1432+
"#define L2_SIZE 2097152\n"
14331433
"#define L2_LINESIZE 32 \n"
14341434
"#define DTB_DEFAULT_ENTRIES 128\n"
14351435
"#define DTB_SIZE 4096\n"
@@ -1465,7 +1465,7 @@ endif ()
14651465
file(APPEND ${TARGET_CONF_TEMP}
14661466
"#define L1_DATA_SIZE 65536\n"
14671467
"#define L1_DATA_LINESIZE 32\n"
1468-
"#define L2_SIZE 262144\n"
1468+
"#define L2_SIZE 2097152\n"
14691469
"#define L2_LINESIZE 32 \n"
14701470
"#define DTB_DEFAULT_ENTRIES 128\n"
14711471
"#define DTB_SIZE 4096\n"

0 commit comments

Comments
 (0)