Ignore:
Timestamp:
Jan 18, 2018, 1:34:55 PM (17 months ago)
Author:
cameron
Message:

Pablo packh/packl and transposition with -enable-pablo-s2p

File:
1 edited

Legend:

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

    r5836 r5837  
    1818#include <pablo/pe_matchstar.h>
    1919#include <pablo/pe_ones.h>
     20#include <pablo/pe_pack.h>
    2021#include <pablo/pe_repeat.h>
    2122#include <pablo/pe_scanthru.h>
     
    146147            out << ", ";
    147148            print(splat->getValue(), out);
     149            out << ")";
     150        } else if (const PackH * p = dyn_cast<PackH>(stmt)) {
     151            out << " = PackH(";
     152            print(p->getFieldWidth(), out);
     153            out << ", ";
     154            print(p->getValue(), out);
     155            out << ")";
     156        } else if (const PackL * p = dyn_cast<PackL>(stmt)) {
     157            out << " = PackL(";
     158            print(p->getFieldWidth(), out);
     159            out << ", ";
     160            print(p->getValue(), out);
    148161            out << ")";
    149162        } else if (const InFile * e = dyn_cast<InFile>(stmt)) {
Note: See TracChangeset for help on using the changeset viewer.