mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed compilation error with GCC 14 on i386 when SSE2 is not enabled
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 0.7.4 (unreleased)
|
||||
|
||||
- Fixed compilation error with GCC 14 on i386 when SSE2 is not enabled
|
||||
|
||||
## 0.7.3 (2024-07-22)
|
||||
|
||||
- Fixed `failed to add index item` error with `sparsevec`
|
||||
|
||||
@@ -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