Commit 699dd390 by Alan Mishchenko

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

parent cad3d8d4
......@@ -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;
......
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