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: [3.3/3.4 PATCH] PR target/7248: Fix iordi3 for m68k


Richard Henderson <rth at redhat dot com> writes:

|> On Fri, Mar 14, 2003 at 06:11:03PM +0100, Andreas Schwab wrote:
|> > 	* config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
|> > 	martin at blom dot org dot 
|> 
|> If this is correct, is the chunk above that handles HI and
|> also doesn't use %R wrong?  I can't belive *both* shouldn't
|> use it.

operands[0] has already been adjusted inbetween:

      if (GET_CODE (operands[0]) == REG)
	operands[0] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1);
      else
	operands[0] = adjust_address (operands[0], SImode, 4);


Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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