aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48/solve.h
diff options
context:
space:
mode:
authorenricotenuti <tenutz_27@outlook.it>2024-10-15 10:34:13 +0200
committerenricotenuti <tenutz_27@outlook.it>2024-10-15 10:34:13 +0200
commit8c5f48d61627a986dc9feb8092f1f465b7f90ebc (patch)
treeeb0761367093403ebf17c13a8cb1550992203bf1 /src/solvers/h48/solve.h
parent3c12def93ed667548bcd9c534c31ec31bfefb8e0 (diff)
downloadnissy-core-8c5f48d61627a986dc9feb8092f1f465b7f90ebc.tar.gz
nissy-core-8c5f48d61627a986dc9feb8092f1f465b7f90ebc.zip
Neon uint8x8_t corners and minor fixes
Diffstat (limited to 'src/solvers/h48/solve.h')
-rw-r--r--src/solvers/h48/solve.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h
index 8f55501..82c8358 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)
@@ -258,4 +258,4 @@ solve_h48(
258solve_h48_error_data: 258solve_h48_error_data:
259 LOG("solve_h48: error reading table\n"); 259 LOG("solve_h48: error reading table\n");
260 return NISSY_ERROR_DATA; 260 return NISSY_ERROR_DATA;
261} 261} \ No newline at end of file

Generated with cgit - Back to sebastiano.tronto.net