mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-15 00:56:54 +08:00
Added comments on dispatching [skip ci]
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
#ifndef BITUTILS_H
|
#ifndef BITUTILS_H
|
||||||
#define BITUTILS_H
|
#define BITUTILS_H
|
||||||
|
|
||||||
#ifndef DISABLE_DISPATCH
|
/* We use two types of dispatching: intrinsics and target_clones */
|
||||||
/* Only enable for more recent compilers */
|
|
||||||
/* TODO Move to better place */
|
/* 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
|
#if defined(__x86_64__) && defined(__GNUC__) && __GNUC__ >= 8
|
||||||
#define USE_DISPATCH
|
#define USE_DISPATCH
|
||||||
#elif defined(__x86_64__) && defined(__clang_major__) && __clang_major__ >= 7
|
#elif defined(__x86_64__) && defined(__clang_major__) && __clang_major__ >= 7
|
||||||
|
|||||||
Reference in New Issue
Block a user