Re: [PATCH] compiler_types: Introduce inline_for_performance

From: Nicolas Pitre

Date: Mon Jan 19 2026 - 10:47:52 EST


On Sun, 18 Jan 2026, David Laight wrote:

> On 32bit you probably don't want to inline __arch_xprod_64(), but you do
> want to pass (bias ? m : 0) and may want separate functions for the
> 'no overflow' case (if it is common enough to worry about).

You do want to inline it. Performance quickly degrades otherwise.
Numbers are in the commit log where I introduced that change.

And __arch_xprod_64() exists only for 32bit btw.


Nicolas