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]

Re: How to clean up i386 machine description?


Jeffrey A Law writes:

 > Note that you have to be careful about using conditions in named
 > patterns that the tree->rtl converter knows about.  Conditions on
 > those patterns can only check TARGET_XXX stuff, they can not be
 > dependent on the operands.  Easy tidbit to forget.

Good point.  The approach I employed was to use define_expand for
these named patterns and to force operands into registers when the
operand combinations were invalid.

Michael.



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