aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-10-28 20:42:24 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-10-28 20:42:24 +0200
commitb05fa355c49c619cce1226716a395381a944f578 (patch)
treeb46416e2fbbc70f3d780f4e0ea3de7763115efe0 /src/cube.h
parentfabb1ae495c4404af0f26380c97d0bca7e881a27 (diff)
downloadnissy-core-b05fa355c49c619cce1226716a395381a944f578.tar.gz
nissy-core-b05fa355c49c619cce1226716a395381a944f578.zip
Started working on AVX2 (not working yet)
Diffstat (limited to '')
-rw-r--r--src/cube.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cube.h b/src/cube.h
index 363cad4..4c6de2f 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -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 */
5typedef struct { 4#ifdef CUBE_AVX2
6 uint8_t c[8]; 5typedef __m256i cube_t;
7 uint8_t e[12]; 6#else
8} cube_t; 7typedef struct { uint8_t c[8]; uint8_t e[12]; } cube_t;
8#endif
9 9
10typedef uint8_t move_t; 10typedef uint8_t move_t;
11typedef uint8_t trans_t; 11typedef uint8_t trans_t;

Generated with cgit - Back to sebastiano.tronto.net