On Tue, Jul 5, 2022 at 1:17 PM Daan De Meyer via devel
<devel(a)lists.fedoraproject.org> wrote:
The proposed configuration is to add "-fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer" to the default compilation flags. Are you alluding to
inline assembly that won't have frame pointers set up correctly even with these two
options enabled?
No - I think the problem is that adding those flags to the default
build configuration will affect the whole system - all executables and
shared libraries, not only "leaf" binaries. And that makes your
benchmarks (and those run by phoronix) basically useless for what
we're discussing here, because they only measure performance impact
when compiling the executables but not *the whole world* with those
flags, including all shared libraries that are used by executables
you're benchmarking.
So applying this change globally would, I assume, add to (or even
multiply) the negative effect wrt/ performance, so the effect will
likely be (much?) bigger than the few percent that were mentioned in
this thread?
Fabio