aboutsummaryrefslogtreecommitdiff
path: root/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'cube.c')
-rw-r--r--cube.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/cube.c b/cube.c
index e9a063d..e150765 100644
--- a/cube.c
+++ b/cube.c
@@ -485,11 +485,9 @@ Section: AVX2 fast methods
485 485
486This section contains performance-critical methods that rely on AVX2 486This section contains performance-critical methods that rely on AVX2
487intructions such as routines for moving or transforming the cube. 487intructions such as routines for moving or transforming the cube.
488
489Note: the #ifdef below is closed in the next section.
490******************************************************************************/ 488******************************************************************************/
491 489
492#ifdef CUBE_AVX2 490#if defined(CUBE_AVX2)
493 491
494#include <immintrin.h> 492#include <immintrin.h>
495 493
@@ -651,6 +649,21 @@ coord_fast_eo(cube_fast_t c)
651 return mask >> 17; 649 return mask >> 17;
652} 650}
653 651
652/******************************************************************************
653Section: ARM NEON fast methods
654
655This section contains performance-critical methods that rely on ARM NEON
656intructions such as routines for moving or transforming the cube.
657******************************************************************************/
658
659#elif defined(CUBE_NEON)
660
661typedef struct {
662 uint8x16_t corner;
663 uint8x16_t edge;
664} cube_fast_t;
665
666/* TODO! */
654 667
655/****************************************************************************** 668/******************************************************************************
656Section: portable fast methods 669Section: portable fast methods

Generated with cgit - Back to sebastiano.tronto.net