source: trunk/lib/bitblock256.hpp @ 1550

Last change on this file since 1550 was 1550, checked in by ksherdy, 8 years ago

Add count_forward_zeroes, count_backward_zeroes.

File size: 827 bytes
Line 
1/*
2    bitblock256 - Specific 256 bit IDISA implementations.
3
4    Idealized SIMD Operations with SSE versions
5    Copyright (C) 2011, Robert D. Cameron, Kenneth S. Herdy, Hua Huang and Nigel Medforth.
6    Licensed to the public under the Open Software License 3.0.
7    Licensed to International Characters Inc.
8       under the Academic Free License version 3.0.
9
10*/
11
12#ifndef BITBLOCK256_HPP_
13#define BITBLOCK256_HPP_
14
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};
26
27#endif /* BITBLOCK256_HPP_ */
Note: See TracBrowser for help on using the repository browser.