Ignore:
Timestamp:
May 7, 2017, 4:34:48 PM (2 years ago)
Author:
nmedfort
Message:

Continued refactoring work. PabloKernel? now abstract base type with a 'generatePabloMethod' hook to generate Pablo code.

File:
1 edited

Legend:

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

    r5374 r5436  
    99namespace IDISA {
    1010   
    11 std::string IDISA_AVX_Builder::getBuilderUniqueName() { return mBitBlockWidth != 256 ? "AVX_" + std::to_string(mBitBlockWidth) : "AVX";}
    12 std::string IDISA_AVX2_Builder::getBuilderUniqueName() { return mBitBlockWidth != 256 ? "AVX2_" + std::to_string(mBitBlockWidth) : "AVX2";}
     11std::string IDISA_AVX_Builder::getBuilderUniqueName() {
     12    return mBitBlockWidth != 256 ? "AVX_" + std::to_string(mBitBlockWidth) : "AVX";
     13}
    1314
    1415Value * IDISA_AVX_Builder::hsimd_signmask(unsigned fw, Value * a) {
     
    4344    // Otherwise use default SSE logic.
    4445    return IDISA_SSE_Builder::hsimd_signmask(fw, a);
     46}
     47
     48std::string IDISA_AVX2_Builder::getBuilderUniqueName() {
     49    return mBitBlockWidth != 256 ? "AVX2_" + std::to_string(mBitBlockWidth) : "AVX2";
    4550}
    4651   
Note: See TracChangeset for help on using the changeset viewer.