diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 10:55:29 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 10:55:29 +0200 |
| commit | 52c21640508c3fc668107778ae027ff4428ebd89 (patch) | |
| tree | 821a0a8d4ba7ee8c0311d4fbd4120a37dfc5082b /src/solvers/h48 | |
| parent | 38014615238a51f1c0c1f2f96d37cbfbf765520a (diff) | |
| download | nissy-core-52c21640508c3fc668107778ae027ff4428ebd89.tar.gz nissy-core-52c21640508c3fc668107778ae027ff4428ebd89.zip | |
Cleanup some TODOs
Diffstat (limited to 'src/solvers/h48')
| -rw-r--r-- | src/solvers/h48/checkdata.h | 5 | ||||
| -rw-r--r-- | src/solvers/h48/gendata_cocsep.h | 2 | ||||
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 6 |
3 files changed, 5 insertions, 8 deletions
diff --git a/src/solvers/h48/checkdata.h b/src/solvers/h48/checkdata.h index 1ee053d..af0499d 100644 --- a/src/solvers/h48/checkdata.h +++ b/src/solvers/h48/checkdata.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | STATIC long long checkdata_h48( | 1 | STATIC long long checkdata_h48( |
| 2 | const char *, unsigned long long, const unsigned char *); | 2 | const char *, unsigned long long, const unsigned char *); |
| 3 | 3 | ||
| 4 | /* | 4 | /* TODO: Currently unused, re-introduce check on cocsep table */ |
| 5 | Currently unused. | ||
| 6 | TODO: re-introduce check on cocsep table | ||
| 7 | */ | ||
| 8 | uint64_t expected_cocsep[21] = { | 5 | uint64_t expected_cocsep[21] = { |
| 9 | [0] = 1, | 6 | [0] = 1, |
| 10 | [1] = 6, | 7 | [1] = 6, |
diff --git a/src/solvers/h48/gendata_cocsep.h b/src/solvers/h48/gendata_cocsep.h index 7a589b5..5d14db7 100644 --- a/src/solvers/h48/gendata_cocsep.h +++ b/src/solvers/h48/gendata_cocsep.h | |||
| @@ -35,7 +35,7 @@ gendata_cocsep( | |||
| 35 | .type = TABLETYPE_SPECIAL, | 35 | .type = TABLETYPE_SPECIAL, |
| 36 | .infosize = INFOSIZE, | 36 | .infosize = INFOSIZE, |
| 37 | .fullsize = COCSEP_FULLSIZE, | 37 | .fullsize = COCSEP_FULLSIZE, |
| 38 | .hash = 0, /* TODO */ | 38 | .hash = 0, |
| 39 | .entries = COCSEP_TABLESIZE, | 39 | .entries = COCSEP_TABLESIZE, |
| 40 | .classes = COCSEP_CLASSES, | 40 | .classes = COCSEP_CLASSES, |
| 41 | .bits = 32, | 41 | .bits = 32, |
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index a7d8408..72cb05d 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -117,7 +117,7 @@ gendata_h48(gendata_h48_arg_t arg[static 1]) | |||
| 117 | arg->cocsepdata = (uint32_t *)cocsepdata_offset; | 117 | arg->cocsepdata = (uint32_t *)cocsepdata_offset; |
| 118 | arg->h48buf = (_Atomic unsigned char*)arg->buf + cocsepsize; | 118 | arg->h48buf = (_Atomic unsigned char*)arg->buf + cocsepsize; |
| 119 | 119 | ||
| 120 | arg->base = 99; /* TODO: set this somewhere else */ | 120 | arg->base = 99; |
| 121 | 121 | ||
| 122 | if (arg->h == 0 && arg->k == 4) { | 122 | if (arg->h == 0 && arg->k == 4) { |
| 123 | gendata_h48h0k4(arg); | 123 | gendata_h48h0k4(arg); |
| @@ -220,7 +220,7 @@ gendata_h48h0k4(gendata_h48_arg_t arg[static 1]) | |||
| 220 | .type = TABLETYPE_PRUNING, | 220 | .type = TABLETYPE_PRUNING, |
| 221 | .infosize = INFOSIZE, | 221 | .infosize = INFOSIZE, |
| 222 | .fullsize = H48_TABLESIZE(0, 4) + INFOSIZE, | 222 | .fullsize = H48_TABLESIZE(0, 4) + INFOSIZE, |
| 223 | .hash = 0, /* TODO */ | 223 | .hash = 0, |
| 224 | .entries = H48_COORDMAX(0), | 224 | .entries = H48_COORDMAX(0), |
| 225 | .classes = 0, | 225 | .classes = 0, |
| 226 | .h48h = 0, | 226 | .h48h = 0, |
| @@ -676,7 +676,7 @@ makeinfo_h48k2(gendata_h48_arg_t arg[static 1]) | |||
| 676 | .type = TABLETYPE_PRUNING, | 676 | .type = TABLETYPE_PRUNING, |
| 677 | .infosize = INFOSIZE, | 677 | .infosize = INFOSIZE, |
| 678 | .fullsize = H48_TABLESIZE(arg->h, 2) + INFOSIZE, | 678 | .fullsize = H48_TABLESIZE(arg->h, 2) + INFOSIZE, |
| 679 | .hash = 0, /* TODO */ | 679 | .hash = 0, |
| 680 | .entries = H48_COORDMAX(arg->h), | 680 | .entries = H48_COORDMAX(arg->h), |
| 681 | .classes = 0, | 681 | .classes = 0, |
| 682 | .h48h = arg->h, | 682 | .h48h = arg->h, |
