This is the mail archive of the gcc-patches@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: RFC: define_predicate


Zack Weinberg wrote:

So, while messing around with the ia64 operand predicates for floating
point, I got annoyed with the way information about the predicates is
communicated to genrecog. There are two macros, PREDICATE_CODES and
SPECIAL_MODE_PREDICATES, defined in CPU.h and looked at only by
genrecog and genpreds. Being in CPU.h, if you change them the entire
compiler gets rebuilt, which is tedious. Also, this is a big reason
why you can't apply genrecog to an arbitrary machine description, you
have to use the one built for that machine description. (Another
reason is of course insn-conditions.o, but that's a thornier problem.)
predicates, with the removal of ADDRESSOF


...

Thoughts?

Seems like a fine idea to me. In general, the less often we have to rebuild the world, the better.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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