Changeset 2593


Ignore:
Timestamp:
Oct 30, 2012, 12:36:32 PM (7 years ago)
Author:
ksherdy
Message:

Changed scanword_t type to ScanWord?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/util/TagMatcher.hpp

    r2280 r2593  
    7272    }
    7373
    74     scanword_t temp = ~hsimd<8>::signmask(simd<8>::eq(bitblock::load_unaligned((BitBlock*)&s1[i]),
     74    ScanWord temp = ~hsimd<8>::signmask(simd<8>::eq(bitblock::load_unaligned((BitBlock*)&s1[i]),
    7575                                                  bitblock::load_unaligned((BitBlock*)&s2[i])));
    7676
     
    188188
    189189        int blk;
    190         int blk_counts = (chars_avail+sizeof(scanword_t)*8-1)/(sizeof(scanword_t)*8);
     190        int blk_counts = (chars_avail+sizeof(ScanWord)*8-1)/(sizeof(ScanWord)*8);
    191191        int block_pos = 0;
    192192
     
    207207        }
    208208        for (blk = 0; blk < blk_counts; blk++) {
    209         scanword_t s = ((scanword_t*)this->tagMarks)[blk];
     209        ScanWord s = ((ScanWord*)this->tagMarks)[blk];
    210210                while(s) {
    211211                        int code = tag_match(scan_forward_zeroes(s) + block_pos, chars_avail);
     
    213213                        s = s & (s-1);  // clear rightmost bit.
    214214                }
    215                 block_pos += 8 * sizeof(scanword_t);
     215                block_pos += 8 * sizeof(ScanWord);
    216216        }
    217217
Note: See TracChangeset for help on using the changeset viewer.