Comment 10 for bug 1663280

Revision history for this message
In , Florian (florian-redhat-bugs) wrote :

(In reply to Carlos O'Donell from comment #5)
> (In reply to Oleg Strikov from comment #4)
> > Hi Carlos,
> >
> > Many thanks for looking into this! Could you please confirm that you used
> > the following command to compile pow test with gcc:
> >
> > $ gcc -O3 -march=x86-64 -mavx -o pow pow.c -lm
>
> I can confirm that I used these options on an F25 system.
>
> The dynamic loader trampoline is only called once in the loop to resolve the
> singular math function call, and after that it's the same sequence over and
> over again without any explicit software save/restore (though the CPU might
> do something for the transition).

Right, that's why I found the claim about the substantial performance impact always a bit puzzling.

What happens if you use LD_BIND_NOT=1?