Aug 2022

5 commits
Further code review of port/simd.h
30 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1Also in: pgsql: Fix broken cast on MSVC
LLM analysis, 100% suremodified before commitlight changesfrom patchset #281 of 1 reviewer saw the final version

Includes both src/include/port/simd.h hunks from #28 and one additional comment correction naming vector8_is_highbit_set(). The commit credits Nathan Bossart and Julien Rouhaud, whose contribution is linked to a separate discussion.

  • John Naylorsaw the final versioncommittercommitted the patch
Fix broken cast on MSVC
29 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements John Naylor's inline wrapper from #26, casting only for NEON, and changes pg_lfind32() to call it. The MSVC buildfarm failure and subsequent push are documented in #25 and #27.

Use ARM Advanced SIMD (NEON) intrinsics where available
29 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #231 of 4 reviewers saw the final version

Lands only the NEON implementation half of the two-patch series in #23; its added and removed lines in src/include/port/simd.h match that component exactly. The abstraction prerequisite was committed separately.

  • Andres Freundsaw an earlier versionLLM analysis, 100% sureAndres proposed compiler predefined macros instead of configure probes in #2, which Nathan adopted before the substantial abstraction rework; the commit also credits him.
  • Thomas Munrosaw an earlier versionLLM analysis, 98% sureThomas supplied the simpler vmaxvq_u8(v) > 0x7F high-bit test in #18, adopted alongside subsequent helper and portability changes, and is credited in the commit.
  • Tom Lanesaw an earlier versionLLM analysis, 98% sureTom tested portability and proposed the combined __aarch64__/__ARM_NEON guard in #15, before further NEON helper changes, and is credited in the commit.
  • John Naylorsaw the final versioncommittercommitted the patch
Abstract some more architecture-specific details away from SIMD functionality
29 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #231 of 2 reviewers saw the final version

Lands the abstraction half of #23, retaining its Vector32 helpers, saturating-subtraction helper, and pg_lfind32() refactor. Differences within that component are declaration formatting and comments, consistent with the push report in #24.

  • Tom Lanesaw an earlier versionLLM analysis, 95% sureTom requested a definition of saturating arithmetic in #22, which was added before the final revision also removed the separate 32-bit high-bit helper, and the commit credits him.
  • John Naylorsaw the final versioncommittercommitted the patch
Remove unused symbol __aarch64
25 Aug 2022John Naylormaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #71 of 1 reviewer saw the final version

The diff exactly matches #7, removing __aarch64 from ARM atomics and spinlock conditionals and their comments across three headers.

  • John Naylorsaw the final versioncommittercommitted the patch

Credits across 5 commits

Author
Nathan BossartLLM4
Reviewer
John Naylorcommitter4
Committer
John Naylor5

N LLM means N of the credits come from LLM analysis, not from commit trailers.