Hi Mikael,

Am 23.01.25 um 15:00 schrieb Mikael Morin:
Le 22/01/2025 à 22:55, Harald Anlauf a écrit :
Dear all,

while looking at details of a related but slightly different PR, I found
that we did evaluate the arguments to MINLOC/MAXLOC too often in the
inlined version.

The attached patch creates temporaries for array elements where needed,
and ensures that each array element is only touched once.  This required
a minor adjustment for the rank-1 algorithm, which is documented.

Regtested on x86_64-pc-linux-gnu.  OK for mainline?


Looks good, OK.
Thanks.

thanks for the review!  Pushed as r15-7165-g3cef53a4d4ff44 .

Harald

Mikael


Reply via email to