From 73a99f18e7940f424287250f780a18d861aef231 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 1 Apr 2025 14:01:49 +0200 Subject: 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. --- src/core/cube.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/cube.h') 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) return true; issolvable_parity: + LOG("There is parity\n"); + return false; issolvable_eo: + LOG("EO is not solvable\n"); + return false; issolvable_co: - /* We used to do more logging here, hence the 3 different labels */ + LOG("CO is not solvable\n"); return false; } -- cgit v1.3