Hi,

On 3/4/07, Steven Bosscher <[EMAIL PROTECTED]> wrote:
On 3/4/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
>  hello ppl,
>
>  when I use -fdump-rtl-all with -dv I get CFG files.
>  where can I learn the syntax of that CFG files ?
>  it seems some kind of LISP language...

So my guess is that the syntax is VCG's.

Forgive me, I had mistake in the question - I meant the debug dump files
that we get just by using the -fdump-rtl-all. not the vcg files.
how can I understand their syntax ?

thanks..
sunzir


some example:
;; Function fun1 (fun1)

(note 2 0 3 NOTE_INSN_DELETED)

(note 3 2 6 NOTE_INSN_FUNCTION_BEG)

(note 6 3 20 [bb 1] NOTE_INSN_BASIC_BLOCK)

(insn/f 20 6 21 (set (mem:SI (pre_dec:SI (reg/f:SI 7 sp)) [0 S4 A8])
       (reg/f:SI 6 bp)) 28 {*pushsi2} (nil)
   (nil))

(insn/f 21 20 22 (set (reg/f:SI 6 bp)
       (reg/f:SI 7 sp)) 34 {*movsi_1} (nil)
   (nil))

(insn/f 22 21 23 (parallel [
           (set (reg/f:SI 7 sp)
               (plus:SI (reg/f:SI 7 sp)
                   (const_int -8 [0xfffffff8])))
           (clobber (reg:CC 17 flags))
           (clobber (mem:BLK (scratch) [0 A8]))

...
...



Gr.
Steven

Reply via email to