From 009cc92e0544b69b0591394b3645de74eb513a8c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 29 Aug 2013 16:03:40 -0700 Subject: Buf fixes and minor changes to the &if mapper. --- src/map/if/ifDec16.c | 25 +++++++++++++++++++++++++ src/map/if/ifMap.c | 8 ++++---- 2 files changed, 29 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/map/if/ifDec16.c b/src/map/if/ifDec16.c index 372473a7..ce59a946 100644 --- a/src/map/if/ifDec16.c +++ b/src/map/if/ifDec16.c @@ -1760,6 +1760,31 @@ static inline word Abc_Tt6Cofactor1( word t, int iVar ) assert( iVar >= 0 && iVar < 6 ); return (t & Truth6[iVar]) | ((t & Truth6[iVar]) >> (1<pPars->fEnableCheck75 || p->pPars->fEnableCheck75u) && pCut->nLeaves == 5 && pCut->nLimit == 5 ) { - extern int If_CluCheckDecIn( word t, int nVars ); + extern int If_CluCheckDecInAny( word t, int nVars ); extern int If_CluCheckDecOut( word t, int nVars ); unsigned TruthU = *If_CutTruth(pCut); word Truth = (((word)TruthU << 32) | (word)TruthU); p->nCuts5++; - if ( If_CluCheckDecIn( Truth, 5 ) || If_CluCheckDecOut( Truth, 5 ) ) + if ( If_CluCheckDecInAny( Truth, 5 ) ) p->nCuts5a++; else continue; } else if ( p->pPars->fVerbose && pCut->nLeaves == 5 ) { - extern int If_CluCheckDecIn( word t, int nVars ); + extern int If_CluCheckDecInAny( word t, int nVars ); extern int If_CluCheckDecOut( word t, int nVars ); unsigned TruthU = *If_CutTruth(pCut); word Truth = (((word)TruthU << 32) | (word)TruthU); p->nCuts5++; - if ( If_CluCheckDecIn( Truth, 5 ) || If_CluCheckDecOut( Truth, 5 ) ) + if ( If_CluCheckDecInAny( Truth, 5 ) || If_CluCheckDecOut( Truth, 5 ) ) p->nCuts5a++; } } -- cgit v1.2.3