Re: Extracting live registers

2018-11-07 Thread Segher Boessenkool
On Wed, Nov 07, 2018 at 09:49:02PM +0100, Paulo Matos wrote: > On 07/11/2018 20:27, Segher Boessenkool wrote: > > Sure, it shows the register information at the edges of basic blocks > > only. This is what you asked for btw ;-) > > True, but I need a way to map that information to the assembly >

Re: Extracting live registers

2018-11-07 Thread Paulo Matos
On 07/11/2018 20:27, Segher Boessenkool wrote: > > Sure, it shows the register information at the edges of basic blocks > only. This is what you asked for btw ;-) > > True, but I need a way to map that information to the assembly instructions in the basic block. :) I think it's not impossib

Re: Extracting live registers

2018-11-07 Thread Segher Boessenkool
On Wed, Nov 07, 2018 at 08:52:15AM +0100, Paulo Matos wrote: > On 07/11/2018 00:40, Segher Boessenkool wrote: > > -fdump-rtl-alignments[-all] is the last dump with all that information I > > think. This one also has all this info without -all it seems. With -all > > it shows it interleaving the R

Re: Extracting live registers

2018-11-06 Thread Paulo Matos
On 07/11/2018 00:40, Segher Boessenkool wrote: > Hi Paulo, > > -fdump-rtl-alignments[-all] is the last dump with all that information I > think. This one also has all this info without -all it seems. With -all > it shows it interleaving the RTL dump as well, which may or may not be > handy fo

Re: Extracting live registers

2018-11-06 Thread Segher Boessenkool
Hi Paulo, On Tue, Nov 06, 2018 at 09:35:35PM +0100, Paulo Matos wrote: > I remember from awhile ago that there's some option (or there was...) > that gets GCC to print some register allocation information together > with the assembler output. > > I am interested in obtaining the live registers pe

Re: Extracting live registers

2018-11-06 Thread Paulo Matos
Apologies, wrong mailing list. Should have sent this to gcc-help. On 06/11/2018 21:35, Paulo Matos wrote: > Hi, > > I remember from awhile ago that there's some option (or there was...) > that gets GCC to print some register allocation information together > with the assembler output. > > I am i

Extracting live registers

2018-11-06 Thread Paulo Matos
Hi, I remember from awhile ago that there's some option (or there was...) that gets GCC to print some register allocation information together with the assembler output. I am interested in obtaining the live registers per basic block. I think the option I had in mind did that but I can't remember