Changeset 183 for trunk/src/engine.c


Ignore:
Timestamp:
Jul 10, 2008, 6:17:58 PM (11 years ago)
Author:
cameron
Message:

SIMD templated library - restructuring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r181 r183  
    207207  /* Install sentinels for every lexical item stream*/
    208208#ifdef TEMPLATED_SIMD_LIB
    209         BitBlock sentinel_value = simd_const<1,1>();
     209        BitBlock sentinel_value = simd<1>::constant<1>();
    210210#endif
    211211#ifndef TEMPLATED_SIMD_LIB
     
    914914       
    915915#ifdef TEMPLATED_SIMD_LIB       
    916         BytePack byte_compare =  simd_eq<8>(sisd_load_unaligned((BytePack *) end_elem_name),
     916        BytePack byte_compare =  simd<8>::eq(sisd_load_unaligned((BytePack *) end_elem_name),
    917917                                                           sisd_load_unaligned((BytePack *) start_elem_name));
    918918#endif
     
    933933            int pos = (lgth - 1) % PACKSIZE + 1;
    934934#ifdef TEMPLATED_SIMD_LIB
    935             byte_compare =  simd_or(byte_compare, simd_eq<8>(sisd_load_unaligned((BytePack *) &end_elem_name[pos]),
     935            byte_compare =  simd_or(byte_compare, simd<8>::eq(sisd_load_unaligned((BytePack *) &end_elem_name[pos]),
    936936                                                                                        sisd_load_unaligned((BytePack *) &start_elem_name[pos])));
    937937#endif
     
    946946                }
    947947#ifdef TEMPLATED_SIMD_LIB
    948                 byte_compare =  simd_eq<8>(sisd_load_unaligned((BytePack *) &end_elem_name[pos]),
     948                byte_compare =  simd<8>::eq(sisd_load_unaligned((BytePack *) &end_elem_name[pos]),
    949949                                                  sisd_load_unaligned((BytePack *) &start_elem_name[pos]));
    950950#endif
Note: See TracChangeset for help on using the changeset viewer.