Changeset 1829 for trunk/lib


Ignore:
Timestamp:
Jan 6, 2012, 6:38:04 PM (7 years ago)
Author:
ksherdy
Message:

Updated method description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/byte_compare.hpp

    r1828 r1829  
    77    Licensed to International Characters Inc.
    88       under the Academic Free License version 3.0.
     9
     10
     11   WARNING:
     12       
     13   for L is 1, choose T = uint8_t
     14   for L in [2,3], choose T = uint16_t
     15   for L in [4,7], choose T = uint32_t
     16   for L in [8,15], choose = uint64_t
     17   for L in [16,00), T = BitBlock
     18
     19   Otherwise results are not valid due to pointer casts.
     20
    921*/
    1022
     
    2133template<class T>
    2234IDISA_ALWAYS_INLINE bool compare(const T * x, const T * y, const uint32_t offset);
    23 
    24 // if L is 1, choose T = uint8_t
    25 // if L in [2,3], choose T = uint16_t
    26 // if L in [4,7], choose T = uint32_t
    27 // if L in [8,15], choose = uint64_t
    28 // if L in [16,00), T = SIMD_type
    2935
    3036template<class T, uint32_t L>
Note: See TracChangeset for help on using the changeset viewer.