Changeset 2698 for trunk/lib


Ignore:
Timestamp:
Nov 27, 2012, 8:09:29 AM (6 years ago)
Author:
cameron
Message:

Fixes for advance_n support in experimental mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pabloSupport.hpp

    r2696 r2698  
    1515}
    1616
    17 template <int n> IDISA_ALWAYS_INLINE BitBlock pablo_blk_Advance_n_(BitBlock strm, BitBlock pending_in, BitBlock & rslt) [
     17template <int n> IDISA_ALWAYS_INLINE BitBlock pablo_blk_Advance_n_(BitBlock strm, BitBlock pending_in, BitBlock & rslt) {
    1818        BitBlock half_block_shifted = esimd<BLOCK_SIZE/2>::mergel(strm, pending_in);
    1919        rslt = simd_or(simd<BLOCK_SIZE/2>::srli<(BLOCK_SIZE/2)-n>(half_block_shifted),
    2020                       simd<BLOCK_SIZE/2>::slli<n>(strm));
    21         return bitblock::srli<BLOCK_SIZE/2>(strm);
     21        return strm;
    2222}
    2323
Note: See TracChangeset for help on using the changeset viewer.