CSFLOC rewrite

Signed-off-by: gothictomato <gothictomato@pm.me>
This commit is contained in:
gothictomato
2022-09-04 10:52:28 -04:00
parent e2b633c802
commit 53a580d0ec
9 changed files with 761 additions and 228 deletions

5
ncnf.h
View File

@@ -12,6 +12,7 @@
typedef struct {
u32 cnts[3]; // { varcnt, clausecnt }
u32* clausedat; // { ind, len, jval }
u32* index;
u32* variables;
u8* parities;
} cnf;
@@ -23,3 +24,7 @@ void printcnf(cnf* c);
void sortlastnum(cnf* c);
void freecnf(cnf* c);
/* -mavx2 -O3 -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts -ftree-vectorize -ftracer -funroll-all-loops
*
*/