> gcc/ChangeLog: > > * config/sparc/sparc.c (store_insn_p): Add predicate for store > attributes. > (load_insn_p): Add predicate for load attributes. > (sparc_do_work_around_errata): Use new predicates.
OK everywhere on principle, but can we avoid the multiple calls to get_attr_type? See div_sqrt_insn_p and fpop_insn_p for a model. -- Eric Botcazou