diff options
Diffstat (limited to 'src/cube.h')
| -rw-r--r-- | src/cube.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -1,11 +1,11 @@ | |||
| 1 | /* Types *********************************************************************/ | 1 | /* Types *********************************************************************/ |
| 2 | 2 | ||
| 3 | /* TODO: ifdef for different implementations */ | ||
| 4 | /* See doc/CUBE_INTERNAL.md for a description of the cube format */ | 3 | /* See doc/CUBE_INTERNAL.md for a description of the cube format */ |
| 5 | typedef struct { | 4 | #ifdef CUBE_AVX2 |
| 6 | uint8_t c[8]; | 5 | typedef __m256i cube_t; |
| 7 | uint8_t e[12]; | 6 | #else |
| 8 | } cube_t; | 7 | typedef struct { uint8_t c[8]; uint8_t e[12]; } cube_t; |
| 8 | #endif | ||
| 9 | 9 | ||
| 10 | typedef uint8_t move_t; | 10 | typedef uint8_t move_t; |
| 11 | typedef uint8_t trans_t; | 11 | typedef uint8_t trans_t; |
