SIMD acceleration
Generic SIMD vector helpers (port/simd.h, pg_lfind) and their use in array searches, lexers and validation. Introduced in PostgreSQL 16.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 1 commit · +194 / -5 lines
- PostgreSQL 19 · shipped · improved · moderate · 4 commits · +626 / -38 lines
- PostgreSQL 18 · shipped · improved · moderate · 3 commits · +332 / -106 lines
- PostgreSQL 17 · shipped · improved · minor · 3 commits · +104 / -75 lines
- PostgreSQL 16 · worked-on · improved · minor
Threads
- Optimize UUID parse using SIMD
- Re: Speed up COPY TO text/CSV parsing using SIMD
- Speed up COPY FROM text/CSV parsing using SIMD
- Speed up COPY TO text/CSV parsing using SIMD
- remove switch statement in vector8_shift_{left,right}
- [PATCH v1 1/1] PostgreSQL Patch: AVX-Optimized ASCII Validation
- use SIMD in GetPrivateRefCountEntry()
- [PATCH] Hex-coding optimizations using SVE on ARM.
- a couple of small patches for simd.h
- Speed up JSON escape processing with SIMD plus other optimisations
- Optimizing COPY with SIMD
- add AVX2 support to simd.h
- autovectorize page checksum code included elsewhere
- Hide exposed impl detail of wchar.c
- Question about the Implementation of vector32_is_highbit_set on ARM
- optimize several list functions with SIMD intrinsics
- introduce optimized linear search functions that return index of matching element
- make additional use of optimized linear search routines
- warning: comparison of integer expressions of different signedness related to simd.h
- [PATCH] Optimize json_lex_string by batching character copying
- use ARM intrinsics in pg_lfind32() where available
- use SSE2 for is_valid_ascii
- optimize lookups in snapshot [sub]xip arrays
- support for SSE2 intrinsics
- Introducing PgVA aka PostgresVectorAcceleration using SIMD vector instructions starting with hex_encode
- [POC] verifying UTF-8 using SIMD instructions