Ignore:
Timestamp:
Oct 23, 2011, 9:49:54 AM (8 years ago)
Author:
cameron
Message:

Use bitblock::sll, srl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/LineColTracker.hpp

    r1575 r1581  
    7373void LineColTracker::get_Line_and_Column(int pos_in_block, int & line, int & column) {
    7474
    75   cur_newline = simd_andc(cur_newline, simd<BLOCK_SIZE>::sll(mvmd<1>::fill(1), mvmd<BLOCK_SIZE>::fill(pos_in_block)));
     75  cur_newline = simd_andc(cur_newline, bitblock::sll(mvmd<1>::fill(1), mvmd<BLOCK_SIZE>::fill(pos_in_block)));
    7676  if (bitblock::any(cur_newline))
    7777    column = pos_in_block - (BLOCK_SIZE-count_backward_zeroes(cur_newline))+1;
Note: See TracChangeset for help on using the changeset viewer.