Re: Source Code for Profile Guided Code Positioning

2016-01-21 Thread Maxim Ostapenko
On 20/01/16 10:08, Sriraman Tallam wrote: On Fri, Jan 15, 2016 at 9:51 AM, Yury Gribov wrote: On 01/15/2016 08:44 PM, vivek pandya wrote: Thanks Yury for https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01440.html this link. It implements procedure reordering as linker plugin. I have some quest

Re: Source Code for Profile Guided Code Positioning

2016-01-20 Thread Ian Lance Taylor
On Tue, Jan 19, 2016 at 11:08 PM, Sriraman Tallam wrote: > > There is no documentation as such that I am aware of to write a linker > plugin. Here is a very brief overview. The linker calls the > plugin's "onload" function when registering the plugin and the plugin > inturn can register two cal

Re: Source Code for Profile Guided Code Positioning

2016-01-19 Thread Sriraman Tallam
On Fri, Jan 15, 2016 at 9:51 AM, Yury Gribov wrote: > On 01/15/2016 08:44 PM, vivek pandya wrote: >> >> Thanks Yury for >> https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01440.html this link. >> It implements procedure reordering as linker plugin. >> I have some questions : >> 1 ) Can you point me

Re: Source Code for Profile Guided Code Positioning

2016-01-15 Thread Yury Gribov
On 01/15/2016 08:44 PM, vivek pandya wrote: Thanks Yury for https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01440.html this link. It implements procedure reordering as linker plugin. I have some questions : 1 ) Can you point me to some documentation for "how to write plugin for linkers " I am I hav

Re: Source Code for Profile Guided Code Positioning

2016-01-15 Thread vivek pandya
Thanks Yury for https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01440.html this link. It implements procedure reordering as linker plugin. I have some questions : 1 ) Can you point me to some documentation for "how to write plugin for linkers " I am I have not seen doc for structs with 'ld_' prefix (

Re: Source Code for Profile Guided Code Positioning

2016-01-15 Thread Yury Gribov
On 01/15/2016 06:53 PM, vivek pandya wrote: Hello GCC Developers, Are 'Profile Guided Code Positioning' algorithms mentioned in http://dl.acm.org/citation.cfm?id=93550 this paper ( Pettis and Hanse ) implemented in gcc ? If yes kindly help me with code file location in gcc source tree. There's

Source Code for Profile Guided Code Positioning

2016-01-15 Thread vivek pandya
Hello GCC Developers, Are 'Profile Guided Code Positioning' algorithms mentioned in http://dl.acm.org/citation.cfm?id=93550 this paper ( Pettis and Hanse ) implemented in gcc ? If yes kindly help me with code file location in gcc source tree. Sincerely, Vivek Pandya