aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-15 20:01:46 +0200
committerGitHub <noreply@github.com>2024-10-15 20:01:46 +0200
commit9198aede8761d6573f2ec3739b48e86f83947b56 (patch)
treeb6c7c39e81d1b6bfdd04ef70d243c7cc8171138e /src/solvers/h48
parent3c12def93ed667548bcd9c534c31ec31bfefb8e0 (diff)
parentb45892d12a6234935684aa7932491189987db2f0 (diff)
downloadnissy-core-9198aede8761d6573f2ec3739b48e86f83947b56.tar.gz
nissy-core-9198aede8761d6573f2ec3739b48e86f83947b56.zip
Merge pull request #4 from enricotenuti/master
Neon uint8x8_t corners and minor fixes
Diffstat (limited to 'src/solvers/h48')
-rw-r--r--src/solvers/h48/solve.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h
index 8f55501..0723fb6 100644
--- a/src/solvers/h48/solve.h
+++ b/src/solvers/h48/solve.h
@@ -19,7 +19,7 @@ typedef struct {
19 uint8_t premoves[MAXLEN]; 19 uint8_t premoves[MAXLEN];
20} dfsarg_solveh48_t; 20} dfsarg_solveh48_t;
21 21
22STATIC uint32_t allowednextmove_h48(uint8_t *, uint8_t, uint32_t); 22STATIC uint32_t allowednextmove_h48(uint8_t *, uint8_t, uint8_t);
23 23
24STATIC void solve_h48_appendsolution(dfsarg_solveh48_t *); 24STATIC void solve_h48_appendsolution(dfsarg_solveh48_t *);
25STATIC_INLINE bool solve_h48_stop(dfsarg_solveh48_t *); 25STATIC_INLINE bool solve_h48_stop(dfsarg_solveh48_t *);
@@ -28,7 +28,7 @@ STATIC int64_t solve_h48(cube_t, int8_t, int8_t,
28 int8_t, uint64_t, const void *, uint64_t, char *); 28 int8_t, uint64_t, const void *, uint64_t, char *);
29 29
30STATIC uint32_t 30STATIC uint32_t
31allowednextmove_h48(uint8_t *moves, uint8_t n, uint32_t h48branch) 31allowednextmove_h48(uint8_t *moves, uint8_t n, uint8_t h48branch)
32{ 32{
33 uint32_t result = MM_ALLMOVES; 33 uint32_t result = MM_ALLMOVES;
34 if (h48branch & MM_NORMALBRANCH) 34 if (h48branch & MM_NORMALBRANCH)

Generated with cgit - Back to sebastiano.tronto.net