This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to get m/c dependent attributes from RTL (expressions, not avariable)?
- From: Balaji S <sivanbalaji at acmet dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 04 Feb 2005 17:42:17 +0530
- Subject: How to get m/c dependent attributes from RTL (expressions, not avariable)?
- Organization: Acme Technologies Pvt. Ltd.
Hi all,
I have introduced m/c dependent attributes and handling it's semantics via the attribute's handler. And i want to use these attributes during assembly printing from RTL. How to get these attributes?
Exactly, i need the attributes of 'g_i3' from the following RTL code MEM.
(mem/f:HI (reg/f:HI 21 ra1 [39]) [4 g_i3+0 S2 A16]))
Did step through, function 'print_rtx' to have a look at how the above RTL being printed. Especially memory attributes [4 g_i3+0 S2 A16]. But not able to get DECL_ATTRIBUTES of 'g_i3'.
Thanks in advance,
Balaji Sivan