Jan 2023

1 commit
Optimise numeric division for 3 and 4 base-NBASE digit divisors.
23 Jan 2023Dean Rasheedmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1Also in: [PATCH] Use 128-bit math to accelerate numeric division, when 8 < divisor digits <= 16 (modified before commit)

Feb 2022

3 commits
Optimise numeric division for one and two base-NBASE digit divisors.
27 Feb 2022Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

d1b307eef2 lands the third component of #6, with its numeric.c diff unchanged apart from base metadata and hunk offsets. It contains the complete div_var_int() optimisation; the other two series components landed separately.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom challenged the original routing approach in #2, endorsed the shared helper in #4, and approved and benchmarked the final series in #7; the commit also credits his review.
Simplify the inner loop of numeric division in div_var().
27 Feb 2022Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

d996d648f3 lands exactly the second component of #6, folding multiplication carry and subtraction borrow together in div_var(). Its numeric.c diff matches the attachment; the remaining series components landed separately.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom explicitly supported this optimisation in #2 and approved and benchmarked the final series in #7, with review credit also recorded in the commit.
Apply auto-vectorization to the inner loop of div_var_fast().
27 Feb 2022Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

e3d41d08a1 lands the first component of #6, preserving its div_var_fast() hunk and adding one mul_var() hunk changing var1digit from int to NumericDigit. That additional change implements Tom Lane's suggestion in #7; the other series components landed separately.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom supported vectorisation in #2, approved the final series and tested his additional NumericDigit suggestion in #7, and received explicit commit credit.

Credits across 4 commits

Author
Dean RasheedLLM3
Joel JacobsonLLM1
Reviewer
Dean Rasheedcommitter1
Committer
Dean Rasheed4

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