Ignore:
Timestamp:
May 6, 2017, 4:05:05 PM (2 years ago)
Author:
nmedfort
Message:

Continued refactoring work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_sse_builder.h

    r5425 r5435  
    1414namespace IDISA {
    1515
    16 class IDISA_SSE_Builder : public IDISA_Builder {
     16class IDISA_SSE_Builder : public virtual IDISA_Builder {
    1717public:
    1818 
    19     IDISA_SSE_Builder(llvm::Module * const module, unsigned archBitWidth, unsigned bitBlockWidth)
    20     : IDISA_Builder(module, archBitWidth, bitBlockWidth, bitBlockWidth) {
     19    IDISA_SSE_Builder(llvm::Module * const module, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride)
     20    : IDISA_Builder(module, archBitWidth, bitBlockWidth, stride) {
     21
    2122    }
    2223
     
    3031public:
    3132 
    32     IDISA_SSE2_Builder(llvm::Module * const module, unsigned archBitWidth, unsigned bitBlockWidth)
    33     : IDISA_SSE_Builder(module, archBitWidth, bitBlockWidth) {
     33    IDISA_SSE2_Builder(llvm::Module * const module, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride)
     34    : IDISA_Builder(module, archBitWidth, bitBlockWidth, stride)
     35    , IDISA_SSE_Builder(module, archBitWidth, bitBlockWidth, stride) {
     36
    3437    }
    3538
     
    3841    Value * hsimd_packh(unsigned fw, Value * a, Value * b) override;
    3942    Value * hsimd_packl(unsigned fw, Value * a, Value * b) override;
    40     std::pair<Value *, Value *> bitblock_advance(Value * a, Value * shiftin, unsigned shift) override;
     43    std::pair<Value *, Value *> bitblock_advance(Value * a, Value * shiftin, unsigned shift) final;
    4144
    4245    ~IDISA_SSE2_Builder() {}
Note: See TracChangeset for help on using the changeset viewer.