This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Predicates used by x86_64 patterns
> On Mar 19, 2001, Jan Hubicka <jh@suse.cz> wrote:
>
> > + extern int x86_64_general_operand PARAMS ((rtx, enum machine_mode));
> > + extern int x86_64_zext_general_operand PARAMS ((rtx, enum machine_mode));
> > + extern int x86_64_nonmemory_operand PARAMS ((rtx, enum machine_mode));
> > + extern int x86_64_zext_nonmemory_operand PARAMS ((rtx, enum machine_mode));
> > + extern int x86_64_immediate_operand PARAMS ((rtx, enum machine_mode));
> > + extern int zero_extended_immediate_operand PARAMS ((rtx, enum machine_mode));
>
> You don't need to declare PREDICATE_CODES functions in *-protos.h any
> more. Declarations are automatically generated in insn-codes.h.
Nice, I will send patch to zap all the prototypes separately.
BTW did you tried to add attribute pure to those declarations? It may be
interesting way to reduce size of the outogenerated recognizers.
Honza
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me