This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: define_predicate
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jul 2004 14:23:52 -0700
- Subject: Re: RFC: define_predicate
- Organization: CodeSourcery, LLC
- References: <87u0vx99j5.fsf@codesourcery.com>
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