Hi, We are implementing attributes to variables. The attribute of the operand is checked and the respective instructions are emitted based on the attributes. We have added the attribute to one addressing mode in which the operand is absolute memory (SYMBOL_REF). This was implemented by checking the tree value using the macro SYMBOL_REF_DECL.
Even though the other 2 addressing modes are implemented, the attributes could not be checked in the other 2 modes. These 2 modes are "disp with register" and "register indirect" addressing modes. The tree structure in these addressing modes could not be checked for attributes using the RTX of the operand. We were unable to get any information from other target specific attributes. Any help/suggestions in solving the problem will be highly appreciated. Regards, Naveen.H.S. KPIT Cummins Infosystems Ltd, Pune (INDIA) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C and M32C Series. The following site also offers free technical support to its users. Visit http://www.kpitgnutools.com for details. Latest versions of KPIT GNU tools were released on October 1, 2007. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~