source: trunk/lib/idisa.hpp @ 1872

Last change on this file since 1872 was 1767, checked in by huah, 8 years ago

The final version of IDISA+ toolkit...

File size: 1.1 KB
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 BLOCKSIZE
12#define BLOCKSIZE 128
13#endif
14
15#if (BLOCKSIZE == 128)
16#include "idisa128.hpp"
17typedef bitblock128_t BitBlock;
18template <uint32_t fw>
19class simd: public simd128<fw>
20{
21};
22template <uint32_t fw>
23class hsimd: public hsimd128<fw>
24{
25};
26template <uint32_t fw>
27class esimd: public esimd128<fw>
28{
29};
30template <uint32_t fw>
31class mvmd: public mvmd128<fw>
32{
33};
34class bitblock: public bitblock128
35{
36};
37#endif
38
39#if (BLOCKSIZE == 256)
40#include "idisa256.hpp"
41typedef bitblock256_t BitBlock;
42template <uint32_t fw>
43class simd: public simd256<fw>
44{
45};
46template <uint32_t fw>
47class hsimd: public hsimd256<fw>
48{
49};
50template <uint32_t fw>
51class esimd: public esimd256<fw>
52{
53};
54template <uint32_t fw>
55class mvmd: public mvmd256<fw>
56{
57};
58class bitblock: public bitblock256
59{
60};
61#endif
62#endif
Note: See TracBrowser for help on using the repository browser.