public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gavin Koch <gavin@cygnus.com>
To: egcs@cygnus.com
Subject: 'nother 64bit mips16 patch
Date: Tue, 10 Feb 1998 09:57:00 -0000	[thread overview]
Message-ID: <m0y2Ifw-0006vBC@cetus.cygnus.com> (raw)

For the 4100 -mips16, the following testcase aborts in
emit_move_insn when it check for compatible modes.  

OK to push?
                             -gavin...



./cc1 xx.c -quiet -mips16 -O1 -w -o xx.s 

long long x=0;y(){x=0;}



	* mips/mips.md (movdi): These PLUS's need to be Pmode.

Index: mips.md
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mips/mips.md,v
retrieving revision 1.95
diff -c -r1.95 mips.md
*** mips.md	1998/01/23 07:20:09	1.95
--- mips.md	1998/02/07 15:36:33
***************
*** 4510,4516 ****
  	    }
  
  	  emit_move_insn (operands[0],
! 			  gen_rtx (PLUS, SImode, base_reg,
  				   mips16_gp_offset (operands[1])));
  	  DONE;
  	}
--- 4510,4516 ----
  	    }
  
  	  emit_move_insn (operands[0],
! 			  gen_rtx (PLUS, Pmode, base_reg,
  				   mips16_gp_offset (operands[1])));
  	  DONE;
  	}
***************
*** 4902,4908 ****
  	  emit_move_insn (base_reg, mips16_gp_pseudo_reg ());
  
  	  emit_move_insn (operands[0],
! 			  gen_rtx (PLUS, SImode, base_reg,
  				   mips16_gp_offset (operands[1])));
  	  DONE;
  	}
--- 4902,4908 ----
  	  emit_move_insn (base_reg, mips16_gp_pseudo_reg ());
  
  	  emit_move_insn (operands[0],
! 			  gen_rtx (PLUS, Pmode, base_reg,
  				   mips16_gp_offset (operands[1])));
  	  DONE;
  	}

             reply	other threads:[~1998-02-10  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-10  9:57 Gavin Koch [this message]
1998-02-11  0:47 ` Jeffrey A Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0y2Ifw-0006vBC@cetus.cygnus.com \
    --to=gavin@cygnus.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).