Ignore:
Timestamp:
Jan 25, 2018, 2:03:09 PM (15 months ago)
Author:
cameron
Message:

CC Compiler refactoring step

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/u8u16.cpp

    r5842 r5843  
    6969   
    7070    //  input: 8 basis bit streams
    71     const auto u8bitSet = getInputStreamVar("u8bit");
    72     PabloAST * u8_bits[8];
    73     for (int i = 0; i < 8; ++i) {
    74         u8_bits[i] = main.createExtract(u8bitSet, main.getInteger(i));
    75     }
     71    std::vector<PabloAST *> u8_bits = getInputStreamSet("u8bit");
    7672
    7773    //  output: 16 u8-indexed streams, + delmask stream + error stream
     
    8884    Var * error_mask = main.createVar("error_mask", zeroes);
    8985
    90     cc::CC_Compiler ccc(this, u8bitSet);
     86    cc::CC_Compiler ccc(this, u8_bits);
    9187
    9288    // The logic for processing non-ASCII bytes will be embedded within an if-hierarchy.
Note: See TracChangeset for help on using the changeset viewer.