Ignore:
Timestamp:
Feb 13, 2011, 10:30:44 AM (8 years ago)
Author:
lindanl
Message:

Eliminate conflicting definition of U8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r909 r910  
    216216  BitBlock EOF_mask = simd_const_1(1);
    217217
    218   BytePack U8[8];
    219 //  BitBlock bit[8];
    220218  int buf_pos = 0;
    221219  int block_pos = 0;
     
    292290          EOF_mask = sisd_srl(simd_const_1(1),sisd_from_int(BLOCK_SIZE-bytes));
    293291        }
    294         BytePack * U8 = (BytePack *) &srcbuf[block_pos];
    295 
    296         s2p_do_block(U8, basis_bits);
     292
     293        s2p_do_block((BytePack *) &srcbuf[block_pos], basis_bits);
    297294
    298295        basis_bits.bit_0 = simd_and(basis_bits.bit_0, masks.EOF_mask);
     
    354351        block_base = block_pos;
    355352
    356         BytePack * U8 = (BytePack *) &srcbuf[block_pos];
    357 
    358         s2p_do_block(U8, basis_bits);
     353        s2p_do_block((BytePack *) &srcbuf[block_pos], basis_bits);
    359354
    360355
Note: See TracChangeset for help on using the changeset viewer.