abc/src/bool/lucky/luckyFast16.c
//It compares iQ and jQ and returns 0 if iQ is smaller then jQ ( comparison starts at highest bit) and visa versa
// DifStart contains the information about the first different bit in iQ and jQ
It compares iQ and jQ and returns 0 if iQ is smaller then jQ ( comparison starts at highest bit) and visa versa
DifStart contains the information about the first different bit in iQ and jQ
It compares iQ and jQ and returns 0 if iQ is smaller then jQ ( comparison starts at highest bit ) and visa versa DifStart contains the information about the first different bit in iQ and jQ
int minTemp2_fast_moreThen5(word* pInOut, int iVar, int iQ, int jQ, int nWords, int* pDifStart)
{
    int i, j, temp;
    int  wordBlock = 1<<(iVar-6);
    int  shiftBlock = wordBlock*4;
    for(i=nWords - 1; i>=0; i-=shiftBlock)
        for(j=0;j<wordBlock;j++)
        {
            temp = CompareWords(pInOut[i-j-iQ*wordBlock],pInOut[i-j-jQ*wordBlock]);
            if(temp == 0)
                continue;
            else if(temp == -1)
            {
                *pDifStart = i+1;
                return 0;
            }
            else
            {
                *pDifStart = i+1;
                return 1;
            }
        }
    *pDifStart=0;
    return 0;
}
int minTemp2_fast_moreThen5 ( word * pInOut , int iVar , int iQ , int jQ , int nWords , int * pDifStart ) { int i , j , temp ; int wordBlock = 1 << ( iVar - 6 ) ; int shiftBlock = wordBlock * 4 ; for ( i = nWords - 1 ; i >= 0 ; i -= shiftBlock ) for ( j = 0 ; j < wordBlock ; j ++ ) { temp = CompareWords ( pInOut [ i - j - iQ * wordBlock ] , pInOut [ i - j - jQ * wordBlock ] ) ; if ( temp == 0 ) continue ; else if ( temp == -1 ) { * pDifStart = i + 1 ; return 0 ; } else { * pDifStart = i + 1 ; return 1 ; } } * pDifStart = 0 ; return 0 ; }
It compares iQ and jQ and returns 0 if iQ is smaller then jQ ( comparison starts at highest bit) and visa versa
DifStart contains the information about the first different bit in iQ and jQ
It compares iQ and jQ and returns 0 if iQ is smaller then jQ ( comparison starts at highest bit ) and visa versa DifStart contains the information about the first different bit in iQ and jQ
//    printf("in minTemp2_fast_moreThen5\n"); //    printf("out minTemp2_fast_moreThen5\n");