Ignore:
Timestamp:
Jul 15, 2015, 7:00:50 AM (4 years ago)
Author:
cameron
Message:

Clean-ups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_data.h

    r4670 r4672  
    4141                           nested({0, 0, 0}),
    4242                           summary({0, 0}),
    43                            totalCarryDataBits(0)
     43                           scopeCarryDataBits(0)
    4444                           {}
    4545       
     
    9090    unsigned getLocalCarryDataSize () { return nested.frameOffsetinBits / BLOCK_SIZE; }
    9191
    92     unsigned getTotalCarryDataSize () { return totalCarryDataBits / BLOCK_SIZE; }
     92    unsigned getScopeCarryDataSize () { return scopeCarryDataBits / BLOCK_SIZE; }
    9393   
    94     bool blockHasCarries() const { return totalCarryDataBits > 0;}
     94    bool blockHasCarries() const { return scopeCarryDataBits > 0;}
    9595   
    96     bool explicitSummaryRequired() const { return totalCarryDataBits > BLOCK_SIZE;}
     96    bool explicitSummaryRequired() const { return scopeCarryDataBits > BLOCK_SIZE;}
    9797   
    9898    bool summaryNeededInParentBlock() const {return (ifDepth > 0) && blockHasCarries();}
     
    113113    struct {unsigned frameOffsetinBits; unsigned allocatedBits;} summary;
    114114
    115     unsigned totalCarryDataBits;
     115    unsigned scopeCarryDataBits;
    116116   
    117117};
Note: See TracChangeset for help on using the changeset viewer.