Re: RTL explaination

From: Erik Mouw
Date: Wed Jun 07 2006 - 09:39:06 EST


On Wed, Jun 07, 2006 at 05:54:43PM +0500, kernel coder wrote:
> I'm trying to understand the rtl genrated by gcc for mips processor.I
> have read gcc internals by Richard Stallman but there are still some
> confusions in the rtl language.
>
> Following is a snippet of code which i'm trying to understand.
>
> (insn 9 6 10 (nil) (set (reg:SI 182)
> (mem/f:SI (symbol_ref:SI ("a")) [0 a+0 S4 A32])) -1 (nil)
> (nil))
>
> In the above code following part is still unclear to me
>
> [0 a+0 S4 A32])) -1 (nil)
> (nil))
>
> Following is the c code for which above rtl is generated :
>
> int a;
> main()
> {
> a=a+1;
> }

I think you will get many more responses on a mailing list dedicated to
gcc... See http://gcc.gnu.org/lists.html .


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/