This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to get m/c dependent attributes from RTL (expressions, not avariable)?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]