Line | |
---|
1 | |
---|
2 | /* Copyright (c) 2011, Hua Huang and Robert D. Cameron. |
---|
3 | Licensed under the Academic Free License 3.0. |
---|
4 | This file is generated by the IDISA+ generator; |
---|
5 | modifications should be made only by changing the |
---|
6 | generator configuration and data files. */ |
---|
7 | |
---|
8 | #ifndef IDISA_HPP |
---|
9 | #define IDISA_HPP |
---|
10 | |
---|
11 | #ifndef BLOCK_SIZE |
---|
12 | #define BLOCK_SIZE 128 |
---|
13 | #endif |
---|
14 | |
---|
15 | #if (BLOCK_SIZE == 128) |
---|
16 | #include "idisa128.hpp" |
---|
17 | typedef bitblock128_t BitBlock; |
---|
18 | template <uint32_t fw> |
---|
19 | class simd: public simd128<fw> |
---|
20 | { |
---|
21 | }; |
---|
22 | template <uint32_t fw> |
---|
23 | class hsimd: public hsimd128<fw> |
---|
24 | { |
---|
25 | }; |
---|
26 | template <uint32_t fw> |
---|
27 | class esimd: public esimd128<fw> |
---|
28 | { |
---|
29 | }; |
---|
30 | template <uint32_t fw> |
---|
31 | class mvmd: public mvmd128<fw> |
---|
32 | { |
---|
33 | }; |
---|
34 | class bitblock: public bitblock128 |
---|
35 | { |
---|
36 | }; |
---|
37 | #endif |
---|
38 | |
---|
39 | #if (BLOCK_SIZE == 256) |
---|
40 | #include "idisa256.hpp" |
---|
41 | typedef bitblock256_t BitBlock; |
---|
42 | template <uint32_t fw> |
---|
43 | class simd: public simd256<fw> |
---|
44 | { |
---|
45 | }; |
---|
46 | template <uint32_t fw> |
---|
47 | class hsimd: public hsimd256<fw> |
---|
48 | { |
---|
49 | }; |
---|
50 | template <uint32_t fw> |
---|
51 | class esimd: public esimd256<fw> |
---|
52 | { |
---|
53 | }; |
---|
54 | template <uint32_t fw> |
---|
55 | class mvmd: public mvmd256<fw> |
---|
56 | { |
---|
57 | }; |
---|
58 | class bitblock: public bitblock256 |
---|
59 | { |
---|
60 | }; |
---|
61 | #endif |
---|
62 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.