mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-04 03:30:56 +08:00
Fixed compilation error with GCC 14 on i386 when SSE2 is not enabled
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
/* F16C has better performance than _Float16 (on x86-64) */
|
||||
#if defined(__F16C__)
|
||||
#define F16C_SUPPORT
|
||||
#elif defined(__FLT16_MAX__) && !defined(HALFVEC_DISPATCH) && !defined(__FreeBSD__)
|
||||
#elif defined(__FLT16_MAX__) && !defined(HALFVEC_DISPATCH) && !defined(__FreeBSD__) && (!defined(__i386__) || defined(__SSE2__))
|
||||
#define FLT16_SUPPORT
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user