Ignore:
Timestamp:
Nov 27, 2012, 11:30:04 AM (7 years ago)
Author:
cameron
Message:

Elim countBlockCarrysWithAdv1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/CCGO.py

    r2698 r2699  
    144144        return [mkCallStmt(self.CarryGroupAtt('CarryCombine'), [self.CarryGroupAtt('cq', "sub" + self.carryGroupVar), ast.Num(loopIndex), ast.Num(carry_count)])]
    145145    def GenerateStreamFunctionFinalization(self):
    146         carry_count = self.carryInfoSet.countBlockCarrysWithAdv1(0)
     146        carry_count = self.carryInfoSet.carry_count + self.carryInfoSet.adv_1_count
    147147        if carry_count == 0: return []
    148148        else: return [mkCallStmt(self.CarryGroupAtt('CarryQ_Adjust'), [ast.Num(carry_count)])]
Note: See TracChangeset for help on using the changeset viewer.