pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #1067: [Arm CPU] Add SVE2 distance functions for halfvec on AArch64
Date: Thu, 19 Nov 2026 02:27:23 +0000
Message-ID: <gh-pgvector-pgvector-1067-c6997807062@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-1067@github.com>
References: <gh-pgvector-pgvector-1067@github.com>

A few findings from testing:

- GCC (14 and 16) and Clang (19 and 21) don't seem to generate `FMLALB` / `FMLALT` instructions with auto-vectorization
- I'm not seeing much benefit with SVE vs Neon on Graviton 5 (likely since they have the same vector width), but if there are platforms that benefit significantly, `target_clones` could be used for SVE

Will spend some more time on this.

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-1067-c6997807062@github.com>
Permalink:  ../gh-pgvector-pgvector-1067-c6997807062@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox