2
0

Tables.hpp 480 B

12345678910111213141516171819202122232425
  1. #ifndef __TABLES_HPP__
  2. #define __TABLES_HPP__
  3. #include "Types.hpp"
  4. #ifdef __SSE4_1__
  5. #include <smmintrin.h>
  6. #endif
  7. extern const int32 g_table[8][4];
  8. extern const int64 g_table256[8][4];
  9. extern const uint32 g_id[4][16];
  10. extern const uint32 g_avg2[16];
  11. extern const uint32 g_flags[64];
  12. #ifdef __SSE4_1__
  13. extern const uint8 g_flags_AVX2[64];
  14. extern const __m128i g_table_SIMD[2];
  15. extern const __m128i g_table128_SIMD[2];
  16. extern const __m128i g_table256_SIMD[4];
  17. #endif
  18. #endif