Ignore:
Timestamp:
Jun 22, 2018, 6:12:01 AM (10 months ago)
Author:
cameron
Message:

Fixes for NativeBitBlockWidth?

File:
1 edited

Legend:

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

    r6106 r6107  
    1515class IDISA_SSE_Builder : public virtual IDISA_Builder {
    1616public:
    17     const unsigned NativeBitBlockWidth = SSE_width;
     17    static const unsigned NativeBitBlockWidth = SSE_width;
    1818    IDISA_SSE_Builder(llvm::LLVMContext & C, unsigned bitBlockWidth, unsigned laneWidth)
    1919    : IDISA_Builder(C, SSE_width, bitBlockWidth, laneWidth) {
     
    2929class IDISA_SSE2_Builder : public IDISA_SSE_Builder {
    3030public:
    31     const unsigned NativeBitBlockWidth = SSE_width;
     31    static const unsigned NativeBitBlockWidth = SSE_width;
    3232    IDISA_SSE2_Builder(llvm::LLVMContext & C, unsigned bitBlockWidth, unsigned laneWidth)
    3333    : IDISA_Builder(C, SSE_width, bitBlockWidth, laneWidth)
     
    4747class IDISA_SSSE3_Builder : public IDISA_SSE2_Builder {
    4848public:
    49     const unsigned NativeBitBlockWidth = SSE_width;
     49    static const unsigned NativeBitBlockWidth = SSE_width;
    5050    IDISA_SSSE3_Builder(llvm::LLVMContext & C, unsigned bitBlockWidth, unsigned laneWidth)
    5151    : IDISA_Builder(C, SSE_width, bitBlockWidth, laneWidth)
Note: See TracChangeset for help on using the changeset viewer.