From ab71c12a28aea07d49f320351828251175152a05 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 22 Apr 2024 16:18:57 -0700 Subject: [PATCH] Added comments on dispatching [skip ci] --- src/bitutils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bitutils.h b/src/bitutils.h index 620c251..0be6b71 100644 --- a/src/bitutils.h +++ b/src/bitutils.h @@ -1,9 +1,10 @@ #ifndef BITUTILS_H #define BITUTILS_H -#ifndef DISABLE_DISPATCH -/* Only enable for more recent compilers */ +/* We use two types of dispatching: intrinsics and target_clones */ /* TODO Move to better place */ +#ifndef DISABLE_DISPATCH +/* Only enable for more recent compilers to keep build process simple */ #if defined(__x86_64__) && defined(__GNUC__) && __GNUC__ >= 8 #define USE_DISPATCH #elif defined(__x86_64__) && defined(__clang_major__) && __clang_major__ >= 7