| /* |
/* |
| * The BIG endian machines: |
* The BIG endian machines: |
| */ |
*/ |
| #elif defined(sun) /* Newer Sparc's */ |
#elif defined(__sparc) /* Newer Sparc's */ |
| |
#define ECRYPT_BIG_ENDIAN |
| |
#elif defined(__powerpc__) /* PowerPC */ |
| #define ECRYPT_BIG_ENDIAN |
#define ECRYPT_BIG_ENDIAN |
| #elif defined(__ppc__) /* PowerPC */ |
#elif defined(__ppc__) /* PowerPC */ |
| #define ECRYPT_BIG_ENDIAN |
#define ECRYPT_BIG_ENDIAN |
| |
#elif defined(__hppa) /* HP-PA */ |
| |
#define ECRYPT_BIG_ENDIAN |
| |
|
| /* |
/* |
| * Finally machines with UNKNOWN endianness: |
* Finally machines with UNKNOWN endianness: |
| */ |
*/ |
| #elif defined (_AIX) /* RS6000 */ |
#elif defined (_AIX) /* RS6000 */ |
| #define ECRYPT_UNKNOWN |
#define ECRYPT_UNKNOWN |
| #elif defined(__hpux) /* HP-PA */ |
|
| #define ECRYPT_UNKNOWN |
|
| #elif defined(__aux) /* 68K */ |
#elif defined(__aux) /* 68K */ |
| #define ECRYPT_UNKNOWN |
#define ECRYPT_UNKNOWN |
| #elif defined(__dgux) /* 88K (but P6 in latest boxes) */ |
#elif defined(__dgux) /* 88K (but P6 in latest boxes) */ |
| |
|
| #endif |
#endif |
| |
|
| |
/* ------------------------------------------------------------------------- */ |
| |
|
| |
/* find the largest type on this platform (used for alignment) */ |
| |
|
| |
#if defined(__SSE__) || (defined(_MSC_VER) && (_MSC_VER >= 1300)) |
| |
|
| |
#include <xmmintrin.h> |
| |
#define MAXT __m128 |
| |
|
| |
#elif defined(__MMX__) |
| |
|
| |
#include <mmintrin.h> |
| |
#define MAXT __m64 |
| |
|
| |
#elif defined(__ALTIVEC__) |
| |
|
| |
#define MAXT __vector int |
| |
|
| |
#else |
| |
|
| |
#define MAXT long |
| |
|
| |
#endif |
| |
|
| /* ------------------------------------------------------------------------- */ |
/* ------------------------------------------------------------------------- */ |
| |
|
| #endif |
#endif |