Ignore:
Timestamp:
Jun 27, 2018, 3:48:18 AM (10 months ago)
Author:
xwa163
Message:

Implement bitstream decompression version of LZ4 Aio Kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/lz4_grep.cpp

    r6111 r6118  
    5252static cl::opt<bool> parallelDecompression("parallel-decompression", cl::desc("Use parallel Approach for LZ4 Decompression"), cl::init(false), cl::cat(lz4GrepDebugFlags));
    5353static cl::opt<bool> swizzledDecompression("swizzled-decompression", cl::desc("Use swizzle approach for decompression"), cl::init(false), cl::cat(lz4GrepDebugFlags));
     54static cl::opt<bool> bitStreamDecompression("bitstream-decompression", cl::desc("Use bit stream approach for decompression"), cl::init(false), cl::cat(lz4GrepDebugFlags));
    5455static cl::opt<bool> enableGather("enable-gather", cl::desc("Enable gather intrinsics"), cl::init(false), cl::cat(lz4GrepDebugFlags));
    5556static cl::opt<bool> enableScatter("enable-scatter", cl::desc("Enable scatter intrinsics"), cl::init(false), cl::cat(lz4GrepDebugFlags));
     
    8384        if (parallelDecompression) {
    8485            g.generateParallelAioPipeline(re_ast, enableGather, enableScatter, minParallelLevel);
    85         } else if (enableMultiplexing) {
    86             g.generateMultiplexingSwizzledAioPipeline(re_ast);
    8786        } else if (swizzledDecompression) {
    88             g.generateSwizzledAioPipeline(re_ast);
     87            if (enableMultiplexing) {
     88                g.generateMultiplexingSwizzledAioPipeline(re_ast);
     89            } else {
     90                g.generateSwizzledAioPipeline(re_ast);
     91            }
     92        } else if (bitStreamDecompression) {
     93            g.generateBitStreamAioPipeline(re_ast);
    8994        } else {
    9095            g.generateAioPipeline(re_ast);
Note: See TracChangeset for help on using the changeset viewer.