From b05fa355c49c619cce1226716a395381a944f578 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 28 Oct 2023 20:42:24 +0200 Subject: Started working on AVX2 (not working yet) --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 08defe2..cff5110 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,32 @@ Work in progress. -TODO: +## Running tests + +``` +$ ./configure.sh # Run 'TYPE=AVX2 ./configure.sh' to use AVX2 instead +$ make test +``` + +## TODO: + +### AVX2 + +* static `solvedcube` and co don't work, turn into functions? +* implement missing stuff (moves, transform) +* optimize things that use _base functions + +### More features -* AVX2 compile-time switch * coordinates: co, eo, epsep, cpsep_sym, cocpsep_sym, cphtr_sym, cocphtr_sym * pruning tables (1 bit per entry + fallback) * solve.c -Optimizations: +### Optimizations: * multi-move (up to 4/5 moves at once) -Things I need to learn: +### Things I need to learn: * Use AVX2 instructions, in particular [_mm256_shuffle_epi8](https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-10/mm256-shuffle-epi8.html)) -- cgit v1.3