Commit aff7f384 by Alan Mishchenko

Debugging 64-bit bug in new semi-canonical form..

parent 1cefca7d
...@@ -121,6 +121,10 @@ inline int minTemp2_fast(word* pInOut, int iVar, int iQ, int jQ, int nWords, int ...@@ -121,6 +121,10 @@ inline int minTemp2_fast(word* pInOut, int iVar, int iQ, int jQ, int nWords, int
int blockSize = 1<<iVar; int blockSize = 1<<iVar;
int shiftSize = blockSize*4; int shiftSize = blockSize*4;
word temp; word temp;
printf( "iVar = %d iQ = %d jQ = %d blockSize = %d shiftSize = %d nWords = %d\n",
iVar, iQ, jQ, blockSize, shiftSize, nWords );
for(i=nWords - 1; i>=0; i--) for(i=nWords - 1; i>=0; i--)
{ {
temp = ((pInOut[i] & SFmask[iVar][iQ])<<(iQ*blockSize)) ^ ((pInOut[i] & SFmask[iVar][jQ])<<(jQ*blockSize)); temp = ((pInOut[i] & SFmask[iVar][iQ])<<(iQ*blockSize)) ^ ((pInOut[i] & SFmask[iVar][jQ])<<(jQ*blockSize));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment