source: trunk/lib/bitblock256.hpp @ 1937

Last change on this file since 1937 was 1815, checked in by ksherdy, 7 years ago

Updated union type declaration/defintion.

File size: 848 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#include "builtins.hpp"
18
19union ubitblock {
20        bitblock128_t _256;
21        bitblock128_t _128[sizeof(bitblock256_t)/sizeof(bitblock128_t)];
22        uint64_t _64[sizeof(bitblock128_t)/sizeof(uint64_t)];
23        uint32_t _32[sizeof(bitblock128_t)/sizeof(uint32_t)];
24        uint16_t _16[sizeof(bitblock128_t)/sizeof(uint16_t)];
25        uint8_t _8[sizeof(bitblock128_t)/sizeof(uint8_t)];
26};
27
28#endif /* BITBLOCK256_HPP_ */
Note: See TracBrowser for help on using the repository browser.