source: trunk/lib/idisa.hpp @ 1500

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

New idisa.hpp Generic library

File size: 609 bytes
Line 
1/*
2    IDISA Library Import - Generic
3    Copyright (C) 2011, Robert D. Cameron
4    Licensed to the public under the Open Software License 3.0.
5    Licensed to International Characters Inc.
6       under the Academic Free License version 3.0.
7*/
8
9#ifndef IDISA_HPP
10#define IDISA_HPP
11
12/*  Default BLOCKSIZE is 128, compatible with SSE, Altivec, SPU */
13#ifndef BLOCKSIZE
14#define BLOCKSIZE 128
15#endif
16
17#if (BLOCKSIZE == 128)
18#include <idisa128.hpp>
19#define BitBlock bitblock128_t
20#endif
21
22/*  BLOCKSIZE 256 for AVX */
23
24#if (BLOCKSIZE == 256)
25#include <idisa256.hpp>
26#define BitBlock bitblock256_t
27#endif
28
29#endif
30
Note: See TracBrowser for help on using the repository browser.