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: RFA: Fix FR-V maddacc/msubacc patterns


On Thu, Sep 09, 2004 at 02:43:00PM +0100, Richard Sandiford wrote:
> This patch fixes the FR-V maddacc, msubacc, mdaddacc and mdsubacc patterns.
> It was inadvertently missing from yesterday's jumbo FR-V submission.
> 
> The problem was that we were trying to use the same define_insns for
> maddacc, msubacc and masacc, with an integer operand to distinguish
> them.  This is wrong because maddacc and msubacc just set a single
> accumulator whereas masacc sets two (it does both an addition and
> a subtraction).  The same problem applied to mdaddacc and mdsubacc.
> 
> The patch fixes the operands of the affected patterns and moves masacc
> and mdasacc into separate define_insns.  The testcase is included in the
> testsuite patch that I'm about to submit.
> 
> Tested on frv-elf.  OK to install?

This is OK.


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