25 int e,wordsNumber,n,shift;
36 e = 3*((9*i - i*i -2)/2 + j);
38 shift = (1<<j)-(1<<i);
39 for(n = 0; n < wordsNumber; n++)
40 f[n] = (f[n]&maskArray[e])+((f[n]&(maskArray[e+1]))<< shift)+((f[n]&(maskArray[e+2]))>> shift);
55 int forShift = (1<<i);
59 for(y=wj; y<WORDS_IN_TT;y+=2*wj)
60 for(x=y-wj; x < y; x++)
63 f[x+wj] = ((f[x+wj])&(mask[i])) + (((f[x]) & (mask[i])) >> forShift);
64 f[x] = ((f[x])&(~mask[i])) + ((temp&(~mask[i])) << forShift);
70 int x,y,wwi,wwj,shift;
76 shift = (wwj - wwi)/2;
78 SizeOfBlock =
sizeof(
word)*wwi/2;
80 for(y=wwj/2; y<WORDS_IN_TT; y+=wwj)
81 for(x=y-shift; x<y; x+=wwi)
83 memcpy(temp,&f[x],SizeOfBlock);
84 memcpy(&f[x],&f[x+shift],SizeOfBlock);
85 memcpy(&f[x+shift],temp,SizeOfBlock);
93 swap_ij( f,totalVars,varJ,varI);
94 else if((varI <= 4) && (varJ <= 5))
96 else if((varI <= 5) && (varJ > 5))
98 else if((varI > 5) && (varJ > 5))
int Kit_TruthWordNum_64bit(int nVars)
void swap_ij_case3(word *f, int totalVars, int i, int j)
void swap_ij(word *f, int totalVars, int varI, int varJ)
void swap_ij_case2(word *f, int totalVars, int i, int j)
unsigned __int64 word
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START void swap_ij_case1(word *f, int totalVars, int i, int j)
#define ABC_CONST(number)
PARAMETERS ///.