mirror of https://github.com/YosysHQ/abc.git
Windows Visual Studio 2008 warnings.
This commit is contained in:
parent
9289d71516
commit
c31e593b09
|
|
@ -445,7 +445,7 @@ Vec_Wrd_t * Gia_ManDeriveSigns( Gia_Man_t * p, Vec_Int_t * vPivots, int fVerbose
|
|||
if ( ~pObj->Value )
|
||||
{
|
||||
assert( pObj->Value >= 0 && pObj->Value < 64 );
|
||||
*Vec_WrdEntryP( vSigns, i ) |= ( 1 << pObj->Value );
|
||||
*Vec_WrdEntryP( vSigns, i ) |= ( (word)1 << pObj->Value );
|
||||
}
|
||||
if ( Gia_ObjIsAnd(pObj) )
|
||||
*Vec_WrdEntryP( vSigns, i ) |= Vec_WrdEntry(vSigns, Gia_ObjFaninId0(pObj, i)) | Vec_WrdEntry(vSigns, Gia_ObjFaninId1(pObj, i));
|
||||
|
|
|
|||
|
|
@ -825,7 +825,7 @@ static inline word Mpm_CutGetSign( Mpm_Cut_t * pCut )
|
|||
int i;
|
||||
word uSign = 0;
|
||||
for ( i = 0; i < (int)pCut->nLeaves; i++ )
|
||||
uSign |= (1 << (Abc_Lit2Var(pCut->pLeaves[i]) & 0x3F));
|
||||
uSign |= ((word)1 << (Abc_Lit2Var(pCut->pLeaves[i]) & 0x3F));
|
||||
return uSign;
|
||||
}
|
||||
static inline int Mpm_CutGetArrTime( Mpm_Man_t * p, Mpm_Cut_t * pCut )
|
||||
|
|
@ -869,7 +869,7 @@ static inline void Mpm_CutSetupInfo( Mpm_Man_t * p, Mpm_Cut_t * pCut, int ArrTim
|
|||
pInfo->mEdge += pLeaf->mEdge / pLeaf->nEstRefs;
|
||||
pInfo->mAveRefs += MPM_UNIT_EDGE * pLeaf->nMapRefs;
|
||||
}
|
||||
pInfo->uSign |= (1 << Abc_Lit2Var(pCut->pLeaves[i]));
|
||||
pInfo->uSign |= ((word)1 << Abc_Lit2Var(pCut->pLeaves[i]));
|
||||
}
|
||||
pInfo->mAveRefs /= pCut->nLeaves;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -484,7 +484,7 @@ void Rsb_DecPrintFunc( Rsb_Man_t * p, unsigned Truth4, word * f, word ** ppGs, i
|
|||
|
||||
printf( "Offset : " );
|
||||
Abc_TtPrintBinary( &Copy, nVars ); //printf( "\n" );
|
||||
Copy >>= (1 << nVars);
|
||||
Copy >>= ((word)1 << nVars);
|
||||
printf( "Onset : " );
|
||||
Abc_TtPrintBinary( &Copy, nVars ); //printf( "\n" );
|
||||
printf( "Result : " );
|
||||
|
|
|
|||
Loading…
Reference in New Issue