linux-mips
[Top] [All Lists]

RTL explaination

To: linux-mips@linux-mips.org
Subject: RTL explaination
From: "kernel coder" <lhrkernelcoder@gmail.com>
Date: Wed, 7 Jun 2006 17:56:37 +0500
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sTfr7sQddnf0H3rCbjTINVLpvZgcQBWV0rJ+DbGiNHbzOlTetfqF7imb52SQxnkp15G/uTs8s0Dp7p8yIOt/ez0f2yLDYoVk08eOskt6Fi7MWIZr+h95HgHeUSPHftypWy8S7JMFZfZp8TBA1YmoAdy2OUlIN2pUiHI1jji6gzA=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
hi,
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;
}


thanks,
shahzad

<Prev in Thread] Current Thread [Next in Thread>