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]

Re: insn "type" attribute


Maksim wrote:
Is the "type" attribute used by the platform-agnostic part of the backend?

No.


The only attribute used in machine independent code is the length attribute, which is used in the shorten branches code in final.c. Search for HAVE_ATTR_length in final.c.

All other attributes are only used in machine dependent code. Most commonly, they are used in other definitions in the md file, define_delay, instruction scheduling patterns, etc.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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