source: trunk/lib/idisa.hpp @ 1584

Last change on this file since 1584 was 1580, checked in by cameron, 8 years ago

bitblock::srl, sll, srli, slli implementations

File size: 825 bytes
Line 
1#ifndef IDISA_HPP
2#define IDISA_HPP
3
4#ifndef BLOCKSIZE
5#define BLOCKSIZE 128
6#endif
7
8#if (BLOCKSIZE == 128)
9#include "idisa128.hpp"
10typedef bitblock128_t BitBlock;
11template <uint32_t fw>
12class simd: public simd128<fw>
13{
14};
15template <uint32_t fw>
16class hsimd: public hsimd128<fw>
17{
18};
19template <uint32_t fw>
20class esimd: public esimd128<fw>
21{
22};
23template <uint32_t fw>
24class mvmd: public mvmd128<fw>
25{
26};
27class bitblock: public bitblock128
28{
29};
30#endif
31
32#if (BLOCKSIZE == 256)
33#include "idisa256.hpp"
34typedef bitblock256_t BitBlock;
35template <uint32_t fw>
36class simd: public simd256<fw>
37{
38};
39template <uint32_t fw>
40class hsimd: public hsimd256<fw>
41{
42};
43template <uint32_t fw>
44class esimd: public esimd256<fw>
45{
46};
47template <uint32_t fw>
48class mvmd: public mvmd256<fw>
49{
50};
51class bitblock: public bitblock256
52{
53};
54#endif
55#endif
Note: See TracBrowser for help on using the repository browser.