Ignore:
Timestamp:
Jan 7, 2015, 3:40:23 PM (4 years ago)
Author:
nmedfort
Message:

Changes to support 3-operand form for all instructions. CSE disabled but partially redundant now.

Location:
icGREP/icgrep-devel/icgrep/cc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.cpp

    r4406 r4410  
    4949}
    5050
    51 pablo::Var * CC_Compiler::compileCC(const re::CC *cc) {
     51pablo::Assign * CC_Compiler::compileCC(const re::CC *cc) {
    5252     return compileCC(cc, mCG);
    5353}
    5454
    55 pablo::Var * CC_Compiler::compileCC(const re::CC *cc, pablo::PabloBlock & pb) {
    56      return pb.createVar(pb.createAssign(cc->canonicalName(ByteClass), charset_expr(cc, pb)));
     55pablo::Assign * CC_Compiler::compileCC(const re::CC *cc, pablo::PabloBlock & pb) {
     56     return pb.createAssign(cc->canonicalName(ByteClass), charset_expr(cc, pb));
    5757}
    5858
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.h

    r4358 r4410  
    2828    std::vector<pablo::Var *> getBasisBits(const CC_NameMap & nameMap);
    2929
    30     pablo::Var * compileCC(const re::CC *cc, pablo::PabloBlock & pb);
     30    pablo::Assign * compileCC(const re::CC *cc, pablo::PabloBlock & pb);
    3131
    32     pablo::Var * compileCC(const re::CC *cc);
     32    pablo::Assign * compileCC(const re::CC *cc);
    3333
    3434    void compileByteClasses(re::RE * re);
Note: See TracChangeset for help on using the changeset viewer.