Support bit-blasting of shifts with more than 32 bits (fix).

This commit is contained in:
Alan Mishchenko 2016-06-08 22:25:12 -05:00
parent cad3d8d419
commit 699dd39035
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ void Wlc_BlastShiftRight( Gia_Man_t * pNew, int * pNum, int nNum, int * pShift,
int i, iRes = pShift[nShiftMax];
for ( i = nShiftMax + 1; i < nShift; i++ )
iRes = Gia_ManHashOr( pNew, iRes, pShift[i] );
pShift[nShiftMax] = iRes;
pShift[nShiftMax++] = iRes;
}
else
nShiftMax = nShift;
@ -181,7 +181,7 @@ void Wlc_BlastShiftLeft( Gia_Man_t * pNew, int * pNum, int nNum, int * pShift, i
int i, iRes = pShift[nShiftMax];
for ( i = nShiftMax + 1; i < nShift; i++ )
iRes = Gia_ManHashOr( pNew, iRes, pShift[i] );
pShift[nShiftMax] = iRes;
pShift[nShiftMax++] = iRes;
}
else
nShiftMax = nShift;