Ignore:
Timestamp:
May 30, 2012, 10:13:03 AM (7 years ago)
Author:
ksherdy
Message:

Fixed src_buffer copyback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template_symbol_table.cpp

    r2186 r2190  
    2323#include <XMLTestSuiteError.h>
    2424
    25 // #define SYMBOL_TABLE
    26 // #define DUMP_SYMBOLS
     25#define SYMBOL_TABLE
     26#define DUMP_SYMBOLS
    2727
    2828#ifdef BUFFER_PROFILING
     
    5252#define LOOKAHEAD_BLOCKS 1
    5353#define LOOKAHEAD_SIZE (BLOCK_SIZE * LOOKAHEAD_BLOCKS)
    54 #define SEGMENT_BLOCKS  12
     54#define SEGMENT_BLOCKS  2
    5555#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
    5656#define BUFFER_SIZE (COPYBACK_SIZE + SEGMENT_SIZE + LOOKAHEAD_SIZE + PADDING_SIZE)
     
    319319          PERF_SEC_END(parser_timer, chars_avail);
    320320
    321           memmove(src_buffer, &src_buffer[SEGMENT_SIZE], LOOKAHEAD_SIZE); // CopyBack Trailing Padding
     321          memmove(src_buffer, &src_buffer[SEGMENT_SIZE], LOOKAHEAD_SIZE);
    322322          #ifdef SYMBOL_TABLE
    323                   //COPY_BACK_BYTE_BUFFER(COPYBACK, src_buffer);
     323                  COPY_BACK_BYTE_BUFFER(COPYBACK, src_buffer);
    324324                        COPY_BACK_BITBLOCK_BUFFER(COPYBACK_h0,h0);
    325325                        COPY_BACK_BITBLOCK_BUFFER(COPYBACK_h1,h1);
Note: See TracChangeset for help on using the changeset viewer.