Changeset 404


Ignore:
Timestamp:
May 26, 2010, 2:47:34 PM (9 years ago)
Author:
ksherdy
Message:

Move print_bit_block definition to lib_simd.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/sse_simd.h

    r402 r404  
    643643}
    644644
    645 
    646 void print_bit_block(const char * var_name, SIMD_type v) {
    647   union {SIMD_type vec; unsigned char elems[8];} x;
    648   x.vec = v;
    649   unsigned char c, bit_reversed;
    650   int i;
    651   printf("%20s = ", var_name);
    652   for (i = 0; i < sizeof(SIMD_type); i++) {
    653     c = x.elems[i];
    654      printf("%02X ", c);
    655   }
    656   printf("\n");
    657 }
    658 
    659645static inline int bitblock_bit_count(SIMD_type v) {
    660646  int bit_count = 0;
Note: See TracChangeset for help on using the changeset viewer.