Changeset 1594 for proto/parabix2/src


Ignore:
Timestamp:
Oct 28, 2011, 5:02:57 PM (8 years ago)
Author:
ksherdy
Message:

Updated TagMatcher?.hpp for IDISA.

File:
1 edited

Legend:

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

    r1583 r1594  
    6969      /* full 16 byte match */
    7070
    71       if (hsimd128<8>::signmask(simd<8>::eq(sisd_load_unaligned((BitBlock*)&s1[i]), sisd_load_unaligned((BitBlock*)&s2[i])))) {
     71      if (hsimd128<8>::signmask(simd<8>::eq(bitblock::load_unaligned((BitBlock*)&s1[i]), bitblock::load_unaligned((BitBlock*)&s2[i])))) {
    7272                lgth -= sizeof(BitBlock);
    7373                i +=sizeof(BitBlock);
     
    7777      }
    7878    }
    79     if (lgth > cfzl(~hsimd128<8>::signmask(simd<8>::eq(sisd_load_unaligned((BitBlock*)&s1[i]),
    80                                                   sisd_load_unaligned((BitBlock*)&s2[i])))))
     79    if (lgth > cfzl(~hsimd128<8>::signmask(simd<8>::eq(bitblock::load_unaligned((BitBlock*)&s1[i]),
     80                                                  bitblock::load_unaligned((BitBlock*)&s2[i])))))
    8181      return 0;
    8282    else return 1;
     
    190190          if(srcbuf[pos-1]!='<'|| srcbuf[pos]=='!'||srcbuf[pos]=='/'){
    191191#ifdef DUMP
    192 print_bit_block("srcbuf", sisd_load_unaligned((BitBlock *) srcbuf));
     192print_bit_block("srcbuf", bitblock::load_unaligned((BitBlock *) srcbuf));
    193193#endif
    194194            fprintf(stderr,"illegal content before root element at position =%i.\n",buf_base+pos);
Note: See TracChangeset for help on using the changeset viewer.