diff options
Diffstat (limited to 'cube.h')
| -rw-r--r-- | cube.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifdef CUBE_AVX2 | 1 | #ifdef CUBE_AVX2 |
| 2 | #include <immintrin.h> | ||
| 3 | typedef __m256i cube_t; | 2 | typedef __m256i cube_t; |
| 4 | #else | 3 | #else |
| 5 | typedef struct { | 4 | typedef struct { |
| @@ -34,4 +33,4 @@ cube_t transform(cube_t, trans_t); | |||
| 34 | int16_t coord_eo(cube_t); | 33 | int16_t coord_eo(cube_t); |
| 35 | 34 | ||
| 36 | /* Solvers return -1 in case of error, the number of solutions otherwise */ | 35 | /* Solvers return -1 in case of error, the number of solutions otherwise */ |
| 37 | int solve_small(cube_t, uint8_t, int, move_t *); | 36 | int solve_generic(cube_t, int (*)(cube_t), uint8_t, int, move_t *); |
