Changeset 3443


Ignore:
Timestamp:
Sep 7, 2013, 5:06:26 PM (6 years ago)
Author:
cameron
Message:

Since bits have been spread into 16-bit fields, need 16->64 step, not 8->64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock256.hpp

    r3441 r3443  
    6666  carry_out = convert(increments >> 4);
    6767  uint64_t spread = 0x0000200040008001 * increments & 0x0001000100010001;
    68   sum = simd256<64>::add(partial_sum, _mm256_cvtepu8_epi64(avx_select_lo128(convert(spread))));
     68  sum = simd256<64>::add(partial_sum, _mm256_cvtepu16_epi64(avx_select_lo128(convert(spread))));
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.