This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extracting live registers
- From: Paulo Matos <pmatos@linki.tools>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 7 Nov 2018 08:52:15 +0100
- Subject: Re: Extracting live registers
- References: <92eede92-8945-acb9-0230-63c9a928188d@linki.tools> <20181106234001.GG5994@gate.crashing.org>
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 for you.
>
Thanks, however it provides no correspondence to the set of asm
instructions in the basic block. After you mentioned
-fdump-rtl-alignments, I tried a few related flags and hit upon what I
thought would work: -dA and -dP, but unfortunately these don't output
live out information per basic block so it's not helpful for my
application. It would be great if -dA or -dP would show live out info as
well, but that doesn't seem to be the case at the moment.
--
Paulo Matos