Changeset 6107


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

Fixes for NativeBitBlockWidth?

Location:
icGREP/icgrep-devel/icgrep/IR_Gen
Files:
4 edited

Legend:

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

    r6106 r6107  
    1717class IDISA_AVX_Builder : public IDISA_SSE2_Builder {
    1818public:
    19     const unsigned NativeBitBlockWidth = AVX_width;
     19    static const unsigned NativeBitBlockWidth = AVX_width;
    2020    IDISA_AVX_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    2121    : IDISA_Builder(C, AVX_width, vectorWidth, laneWidth)
     
    3535class IDISA_AVX2_Builder : public IDISA_AVX_Builder {
    3636public:
    37     const unsigned NativeBitBlockWidth = AVX_width;
     37    static const unsigned NativeBitBlockWidth = AVX_width;
    3838    IDISA_AVX2_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    3939    : IDISA_Builder(C, AVX_width, vectorWidth, laneWidth)
     
    6666class IDISA_AVX512F_Builder : public IDISA_AVX2_Builder {
    6767public:
    68     const unsigned NativeBitBlockWidth = AVX512_width;
     68    static const unsigned NativeBitBlockWidth = AVX512_width;
    6969    IDISA_AVX512F_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    7070    : IDISA_Builder(C, AVX512_width, vectorWidth, laneWidth)
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_i64_builder.h

    r6106 r6107  
    1414class IDISA_I64_Builder : public virtual IDISA_Builder {
    1515public:
    16     const unsigned NativeBitBlockWidth = I64_width;
     16    static const unsigned NativeBitBlockWidth = I64_width;
    1717 
    1818    IDISA_I64_Builder(llvm::LLVMContext & C, unsigned bitBlockWidth, unsigned laneWidth)
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_nvptx_builder.h

    r6105 r6107  
    1313class IDISA_NVPTX20_Builder : public IDISA_I64_Builder {
    1414public:
    15     const unsigned NativeBitBlockWidth = 4096;
     15    static const unsigned NativeBitBlockWidth = 4096;
    1616    IDISA_NVPTX20_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    1717    : IDISA_Builder(C, NativeBitBlockWidth, vectorWidth, laneWidth)
  • 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.