source: trunk/lib/idisa.hpp @ 1519

Last change on this file since 1519 was 1515, checked in by ksherdy, 8 years ago

typedef left to right. Use BitBlock? for general algorithms. Use bitblock128_t for specific implementations.

File size: 612 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"
19typedef bitblock128_t BitBlock;
20#endif
21
22/*  BLOCKSIZE 256 for AVX */
23
24#if (BLOCKSIZE == 256)
25#include "idisa256.hpp"
26typedef bitblock256_t BitBlock;
27#endif
28
29#endif
30
31
Note: See TracBrowser for help on using the repository browser.