Ignore:
Timestamp:
Jun 19, 2013, 8:30:47 AM (6 years ago)
Author:
cameron
Message:

Enable static assert checking (requires -std=gnu++0x compiler flag)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pabloSupport.hpp

    r3093 r3334  
    4242        BitBlock half_block_shifted = esimd<BLOCK_SIZE/2>::mergel(strm, pending_in);
    4343        rslt = simd_or(simd<BLOCK_SIZE/2>::srli<(BLOCK_SIZE/2)-n>(half_block_shifted),
     44                       simd<BLOCK_SIZE/2>::slli<n>(strm));
     45        return strm;
     46}
     47
     48template <int fw, int n> IDISA_ALWAYS_INLINE BitBlock pablo_blk_Advance_n_(BitBlock strm, BitBlock pending_in, BitBlock & rslt) {
     49        BitBlock shifted = mvmd<fw>::dslli<1>(strm, pending_in);
     50        rslt = simd_or(simd<BLOCK_SIZE/2>::srli<fw-n>(shifted),
    4451                       simd<BLOCK_SIZE/2>::slli<n>(strm));
    4552        return strm;
Note: See TracChangeset for help on using the changeset viewer.