insn_extract/constrain_operands caching version 2

Richard Henderson rth@cygnus.com
Fri Sep 8 11:02:00 GMT 2000


On Fri, Sep 08, 2000 at 02:42:12PM +0200, Jan Hubicka wrote:
> 	* genrecog.c (write_tree): Output code to clear insn_extract cache.
> 	* genattrtab.c (write_attr_case): Gen call to extract_insn_cache
> 	instead of extract_insn and extract_constrain_insn_cache instead of
> 	extract_insn and constrain_operands.
> 	* recog.c (extract_insn_cached, extract_constrain_insn_cached):
> 	New functions.
> 	(extract_insn): Clear which_alternative.
> 	(constrain_operands): Set which_alternative to -1 when failed.
> 	* recog.h (extract_constrain_insn_cached, extract_insn_cached):
> 	Declare.

Ok.


r~


More information about the Gcc-patches mailing list