[Bug runtime/10234] clean up aggregate hard-coded logic
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Sep 27 08:44:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=10234
--- Comment #8 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9525
--> https://sourceware.org/bugzilla/attachment.cgi?id=9525&action=edit
proposed prototype patch
The attached patch based on inlining the __stp_stat_add(), and adding a few
integer parameters denoting relevant stat ops, seems to help GCC to effectively
optimize this function.
Very rough testing shows about 17% shrinkage, which is roughly about the same
as with the patch from Comment #6 (based on preprocessing phase of the runtime
compilation). The results were acquired using gcc-6.2.1-1.fc26.x86_64 and -O2
for the module compilation.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list