On 24/11/2026 08:45, David Geier wrote:
>> I test these numeric-related patches on Intel/AMD/ARM platforms with 
>> clang/gcc.
>> For GCC, I do recommend using -mstringop-strategy=libcall. It hides the
>> performance issue in GCC 12-15.
> 
> But that flag is not used by PostgreSQL upstream. So the final code
> needs to perform regardless of that flag.
> 
> What exactly doesn't work with GCC 12-15? Is this documented somewhere?
Yes, it is a well-known issue. See:

1. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95556
2. https://lkml.indiana.edu/hypermail/linux/kernel/2506.1/01504.html

It is related to x86/amd & gcc only. Closed in gcc 16 (at least I don't see any
regression there).

-- 
regards, Andrei Lepikhov,
pgEdge


Reply via email to