aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-01 14:01:49 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-01 14:01:49 +0200
commit73a99f18e7940f424287250f780a18d861aef231 (patch)
treef3a4d7e36fff294fa910d53819b561245ad8fe1e /src/core
parentb0053277e385bee23336d1fe6b69a12f49f9172f (diff)
downloadnissy-core-73a99f18e7940f424287250f780a18d861aef231.tar.gz
nissy-core-73a99f18e7940f424287250f780a18d861aef231.zip
Some simplification to AVX2 code
Some simplification after discussion with Arhan Chaudhary (inspired by vcube). Performance looks unchanged, but at least the code is cleaner.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cube.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/cube.h b/src/core/cube.h
index 3dd3ccb..ce8a6b8 100644
--- a/src/core/cube.h
+++ b/src/core/cube.h
@@ -109,9 +109,13 @@ issolvable(cube_t cube)
109 return true; 109 return true;
110 110
111issolvable_parity: 111issolvable_parity:
112 LOG("There is parity\n");
113 return false;
112issolvable_eo: 114issolvable_eo:
115 LOG("EO is not solvable\n");
116 return false;
113issolvable_co: 117issolvable_co:
114 /* We used to do more logging here, hence the 3 different labels */ 118 LOG("CO is not solvable\n");
115 return false; 119 return false;
116} 120}
117 121

Generated with cgit - Back to sebastiano.tronto.net