Botan: src/simd/simd_32.h Source File

Botan 1.10.16

simd_32.h
Go to the documentation of this file.
1 /*
2 * Lightweight wrappers for SIMD operations
3 * (C) 2009,2011 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #ifndef BOTAN_SIMD_32_H__
9 #define BOTAN_SIMD_32_H__
10
11 #include <botan/types.h>
12
13 #if defined(BOTAN_HAS_SIMD_SSE2)
14 #include <botan/internal/simd_sse2.h>
15 namespace Botan { typedef SIMD_SSE2 SIMD_32; }
16
17 #elif defined(BOTAN_HAS_SIMD_ALTIVEC)
18 #include <botan/internal/simd_altivec.h>
19 namespace Botan { typedef SIMD_Altivec SIMD_32; }
20
21 #elif defined(BOTAN_HAS_SIMD_SCALAR)
22 #include <botan/internal/simd_scalar.h>
23 namespace Botan { typedef SIMD_Scalar SIMD_32; }
24
25 #else
26 #error "No SIMD module defined"
27
28 #endif
29
30 #endif
Botan
Definition: algo_base.h:14