diff options
author | lloyd <[email protected]> | 2011-05-24 12:59:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-05-24 12:59:59 +0000 |
commit | 12d4fcffc291c7e9efcb811e8d4d33d34f5b7cb9 (patch) | |
tree | e25a8871362eb1cafe0966cc17dc6255662d5cc6 /src/utils/simd_32/simd_32.h | |
parent | 6bf99bb01aac7266ec6f3c5556fc5177e0f881ad (diff) |
Split the SIMD implementations into their own modules and choose one
at config time.
Diffstat (limited to 'src/utils/simd_32/simd_32.h')
-rw-r--r-- | src/utils/simd_32/simd_32.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/utils/simd_32/simd_32.h b/src/utils/simd_32/simd_32.h deleted file mode 100644 index e172fa919..000000000 --- a/src/utils/simd_32/simd_32.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -* Lightweight wrappers for SIMD operations -* (C) 2009 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_SIMD_32_H__ -#define BOTAN_SIMD_32_H__ - -#include <botan/types.h> -#include <botan/rotate.h> - -#if defined(BOTAN_TARGET_CPU_HAS_SSE2) && !defined(BOTAN_NO_SSE_INTRINSICS) - - #include <botan/internal/simd_sse.h> - namespace Botan { typedef SIMD_SSE2 SIMD_32; } - -#elif defined(BOTAN_TARGET_CPU_HAS_ALTIVEC) - - #include <botan/internal/simd_altivec.h> - namespace Botan { typedef SIMD_Altivec SIMD_32; } - -#else - - #include <botan/internal/simd_scalar.h> - namespace Botan { typedef SIMD_Scalar SIMD_32; } - -#endif - -#endif |