Re: Optimize numeric multiplication for one and two base-NBASE digit multiplicands.

From: "Joel Jacobson" <joel(at)compiler(dot)org>
To: "Dean Rasheed" <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Optimize numeric multiplication for one and two base-NBASE digit multiplicands.
Date: 2024-07-04 10:38:59
Message-ID: f04e103f-e15b-41d2-9657-ee73eeaf349d@app.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 4, 2024, at 09:38, Joel Jacobson wrote:
> Summary of benchmark results:
>
> cpu | var1ndigits | winner
> ----------------------+-------------+-------------------------------------------------------------
..
> v5-optimize-numeric-mul_var-small-var1-arbitrary-var2.patch
> AMD Ryzen 9 7950X3D | 3 |
> v5-optimize-numeric-mul_var-small-var1-arbitrary-var2.patch
...
> Apple M3 Max | 3 |
> v5-optimize-numeric-mul_var-small-var1-arbitrary-var2.patch
...
> Intel Core i9-14900K | 3 |
> v5-optimize-numeric-mul_var-small-var1-arbitrary-var2.patch

Since v5-add-mul_var_int.patch only implements (var1ndigits <= 2)
it can't possibly win the var1ndigits=3 competition.

/Joel

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo NAGATA 2024-07-04 10:39:31 Re: Fix a comment on PQcancelErrorMessage
Previous Message Aleksander Alekseev 2024-07-04 10:38:44 Re: Problem while installing PostgreSQL using make