Commit 794bd2fd by Alan Mishchenko

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

parent aff7f384
......@@ -128,13 +128,18 @@ printf( "iVar = %d iQ = %d jQ = %d blockSize = %d shiftSize = %d nWords = %
for(i=nWords - 1; i>=0; i--)
{
temp = ((pInOut[i] & SFmask[iVar][iQ])<<(iQ*blockSize)) ^ ((pInOut[i] & SFmask[iVar][jQ])<<(jQ*blockSize));
printf( "i = %d temp = %ld \n", i, temp );
if( temp == 0)
continue;
else
{
*pDifStart = i*100;
while(temp == (temp<<(shiftSize*j))>>shiftSize*j)
{
printf( "inside temp = %ld shiftSize = %d j = %d\n", temp, shiftSize, j );
j++;
}
*pDifStart += 21 - j;
if( ((pInOut[i] & SFmask[iVar][iQ])<<(iQ*blockSize)) <= ((pInOut[i] & SFmask[iVar][jQ])<<(jQ*blockSize)) )
return 0;
......
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