Ignore:
Timestamp:
Mar 4, 2018, 4:46:25 PM (17 months ago)
Author:
cameron
Message:

BitByteGrepKernel? initial check-in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.cpp

    r5834 r5889  
    88#include <pablo/pe_scanthru.h>
    99#include <pablo/pe_repeat.h>
     10#include <pablo/pe_pack.h>
    1011#include <pablo/pe_infile.h>
    1112#include <pablo/pe_count.h>
     
    214215    return result;
    215216}
     217
     218   
     219PabloAST * PabloBuilder::createPackL(not_null<Integer *> fieldWidth, PabloAST * value) {
     220    MAKE_BINARY(createPackL, TypeId::PackL, fieldWidth.get(), value);
     221    return result;
     222}
     223
     224PabloAST * PabloBuilder::createPackH(not_null<Integer *> fieldWidth, PabloAST * value) {
     225    MAKE_BINARY(createPackH, TypeId::PackH, fieldWidth.get(), value);
     226    return result;
     227}
     228
    216229
    217230PabloAST * PabloBuilder::createAnd(PabloAST * expr1, PabloAST * expr2) {
Note: See TracChangeset for help on using the changeset viewer.