Ignore:
Timestamp:
Oct 22, 2011, 2:14:12 PM (8 years ago)
Author:
ksherdy
Message:

Add count_forward_zeroes, count_backward_zeroes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock256.hpp

    r1542 r1550  
    11/*
    2     bitblock256 - 256 bit block size - Specific 256 bit implementations.
     2    bitblock256 - Specific 256 bit IDISA implementations.
    33
    44    Idealized SIMD Operations with SSE versions
     
    1313#define BITBLOCK256_HPP_
    1414
     15#include "idisa128.hpp"
     16#include "idisa256.hpp"
     17
     18union ubitblock256 {
     19        bitblock128_t _256;
     20        bitblock128_t _128[sizeof(bitblock256_t)/sizeof(bitblock128_t)];
     21        uint64_t _64[sizeof(bitblock128_t)/sizeof(uint64_t)];
     22        uint32_t _32[sizeof(bitblock128_t)/sizeof(uint32_t)];
     23        uint16_t _16[sizeof(bitblock128_t)/sizeof(uint16_t)];
     24        uint8_t _8[sizeof(bitblock128_t)/sizeof(uint8_t)];
     25};
    1526
    1627#endif /* BITBLOCK256_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.