Changeset 2875 for trunk


Ignore:
Timestamp:
Jan 31, 2013, 6:36:35 AM (6 years ago)
Author:
cameron
Message:

lookahead fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pabloSupport.hpp

    r2874 r2875  
    4343*/
    4444template <int n> IDISA_ALWAYS_INLINE BitBlock pablo_Lookahead_n_(BitBlock strm, BitBlock lookahead) {
    45         BitBlock half_block_shifted = esimd<BLOCK_SIZE/2>::mergel(lookahead, strm);
     45        BitBlock half_block_shifted = mvmd<BLOCK_SIZE/2>::dslli<1>(lookahead, strm);
    4646        return simd_or(simd<BLOCK_SIZE/2>::slli<(BLOCK_SIZE/2)-n>(half_block_shifted),
    4747                       simd<BLOCK_SIZE/2>::srli<n>(strm));
Note: See TracChangeset for help on using the changeset viewer.