feat update

This commit is contained in:
tqcq 2024-10-25 01:48:43 +00:00
parent 1108a21b25
commit 5c8122a540
3 changed files with 7 additions and 2 deletions

View File

@ -17,7 +17,7 @@
#include "rev-mc.h"
#include "utils.h"
#define SETS_std (2 * 16)// 1rk-1ch
#define SETS_std (2 * 16 * 10)// 1rk-1ch
#define ROUNDS_std 1000
#define THRESHOLD_std 340
#define MEM_SIZE_std GB(5L)

View File

@ -28,7 +28,7 @@
#define ALIGN_TO(X, Y) ((X) & (~((1LL << (Y)) - 1LL)))// Mask out the lower Y bits
#define LS_BITMASK(X) ((1LL << (X)) - 1LL) // Mask only the lower X bits
#define SET_SIZE 40// elements per set
#define SET_SIZE 300// elements per set
#define VALID_THRESH 0.75f
#define SET_THRESH 0.95f
#define BITSET_SIZE 256// bitset used to exploit bitwise operations

View File

@ -27,6 +27,11 @@ ProfileParams *p;
// DRAMLayout g_mem_layout = {{{0x4080,0x88000,0x110000,0x220000,0x440000,0x4b300}, 6}, 0xffff80000, ((1<<13)-1)};
// DRAMLayout g_mem_layout = { {{0x2040, 0x44000, 0x88000, 0x110000, 0x220000}, 5}, 0xffffc0000, ((1 << 13) - 1) };
// DRAMLayout g_mem_layout = {{{0x2040,0x24000,0x48000,0x90000},4}, 0xffffe0000, ((1<<13)-1)};
// DRAMLayout g_mem_layout = {
// {{0x87200}, 1},
// 0xffff000000,
// ROW_SIZE - 1
// };
DRAMLayout g_mem_layout = {
{{0x5400, 0x82600}, 2},
0xffff000000,