Ignore:
Timestamp:
Aug 6, 2015, 3:39:27 PM (4 years ago)
Author:
cameron
Message:

Mod64 approximation mode

File:
1 edited

Legend:

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

    r4650 r4716  
    3333        return localCarryIndex;
    3434    }
     35    inline void setMod64() {
     36        isMod64approx = true;
     37    }
     38    inline bool isMod64() const {
     39        return isMod64approx;
     40    }
    3541    virtual ~MatchStar() {}
    3642protected:
    3743    MatchStar(PabloAST * marker, PabloAST * cc, String * name)
    3844    : Statement(ClassTypeId::MatchStar, {marker, cc}, name)
     45    , isMod64approx(false)
    3946    {
    4047
    4148    }
    4249private:
     50    bool isMod64approx;
    4351    unsigned localCarryIndex;
    4452};
Note: See TracChangeset for help on using the changeset viewer.