diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-01 14:01:49 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-01 14:01:49 +0200 |
| commit | 73a99f18e7940f424287250f780a18d861aef231 (patch) | |
| tree | f3a4d7e36fff294fa910d53819b561245ad8fe1e /src/core/cube.h | |
| parent | b0053277e385bee23336d1fe6b69a12f49f9172f (diff) | |
| download | nissy-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/cube.h')
| -rw-r--r-- | src/core/cube.h | 6 |
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 | ||
| 111 | issolvable_parity: | 111 | issolvable_parity: |
| 112 | LOG("There is parity\n"); | ||
| 113 | return false; | ||
| 112 | issolvable_eo: | 114 | issolvable_eo: |
| 115 | LOG("EO is not solvable\n"); | ||
| 116 | return false; | ||
| 113 | issolvable_co: | 117 | issolvable_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 | ||
