This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: mips-sgi-irix6.2 RTL check testsuite failures
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: mips-sgi-irix6.2 RTL check testsuite failures
- From: Clinton Popetz <cpopetz at cygnus dot com>
- Date: Thu, 13 Jul 2000 09:45:46 -0500
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <200007121432.KAA09813@caip.rutgers.edu>
On Wed, Jul 12, 2000 at 10:32:20AM -0400, Kaveh R. Ghazi wrote:
> The following are testsuite failures exposed by RTL checking on
> mips-sgi-irix6.2:
>
> gcc.c-torture/execute/950612-1.c:48: RTL check: expected code `reg',
> have `sign_extend'
> gcc.c-torture/execute/950612-1.c:48: Internal compiler error in
> `output_77', at insn-output.c:506
Well, that one was easy. A bootstrap is in progress on
mips-sgi-irix6.2, but it will take several hours to complete.
-Clint
Thu Jul 13 09:40:57 2000 Clinton Popetz <cpopetz@cygnus.com>
* config/mips/mips.md: (absdi2): Handle sign_extend for
second operand.
Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/mips.md,v
retrieving revision 1.81
diff -c -2 -p -r1.81 mips.md
*** mips.md 2000/03/23 16:38:29 1.81
--- mips.md 2000/07/13 14:34:16
***************
*** 2839,2847 ****
"*
{
dslots_jump_total++;
dslots_jump_filled++;
operands[2] = const0_rtx;
! if (REGNO (operands[0]) == REGNO (operands[1]))
return \"%(bltzl\\t%1,1f\\n\\tdsubu\\t%0,%z2,%0\\n%~1:%)\";
else
--- 2839,2853 ----
"*
{
+ int regno1;
dslots_jump_total++;
dslots_jump_filled++;
operands[2] = const0_rtx;
+
+ if (GET_CODE (operands[1]) == REG)
+ regno1 = REGNO (operands[1]);
+ else
+ regno1 = REGNO (XEXP (operands[1], 0));
! if (REGNO (operands[0]) == regno1)
return \"%(bltzl\\t%1,1f\\n\\tdsubu\\t%0,%z2,%0\\n%~1:%)\";
else