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: [PATCH, MIPS] 74k madd scheduler tweaks


On 14/08/2012, at 7:08 PM, Richard Sandiford wrote:

> OK with those changes, thanks.

Checked in with the noted changes and a fixed bug.

It turns out that mips_linked_madd_p is also called via mips_macc_chains_reorder, which may pass a (use ...) instruction, which causes get_attr_* to blow up.  Fixed by adding

if (recog_memoized (in_insn) < 0)
  return false;

at the beginning of mips_linked_madd_p.

Richard, thanks for review, and thanks Sandra for testing the patch.

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics



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