Ignore:
Timestamp:
Aug 4, 2011, 4:30:07 PM (8 years ago)
Author:
vla24
Message:

refactored some code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/symtab/bitstream_hash_table.h

    r1270 r1278  
    186186        {
    187187#else
    188         if( equal_compare_4 ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
     188        if( equal_compare<uint16_t>((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
    189189        {
    190190#endif
     
    211211        printf ("Check symbol: %s\n", chain->key);
    212212#endif
    213         if( equal_compare_8 ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
     213        if( equal_compare<uint32_t> ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
    214214        {
    215215#if DEBUG_BHT
     
    235235        printf ("Check symbol: %s\n", chain->key);
    236236#endif
    237         if( equal_compare_16 ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
     237        if( equal_compare<uint64_t> ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
    238238        {
    239239#if DEBUG_BHT
     
    261261        printf ("Check symbol: %s\n", chain->key);
    262262#endif
    263         if( equal_compare_32 ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
     263        if( equal_compare<SIMD_type> ((unsigned char*)chain->key, (unsigned char*)name, chain->lgth, L) )
    264264        {
    265265#if DEBUG_BHT
Note: See TracChangeset for help on using the changeset viewer.