This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 May 2001 16:44:06 -0300
- Cc: gcc-bugs at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu, mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105040247.WAA02728@caip.rutgers.edu><orae4q3db3.fsf@guarana.lsd.ic.unicamp.br>
On May 6, 2001, Alexandre Oliva <aoliva@redhat.com> wrote:
> @@ -4319,7 +4331,8 @@ move\\t%0,%z4\\n\\
> emit_label (label1);
> emit_move_insn (reg2, gen_rtx_MINUS (DFmode, operands[1], reg1));
> - emit_move_insn (reg3, GEN_INT (BITMASK_HIGH));
> + emit_move_insn (reg3, GEN_INT (trunc_int_for_mode
> + (BITMASK_HIGH, SImode)));
> emit_insn (gen_fix_truncdfsi2 (operands[0], reg2));
> emit_insn (gen_iorsi3 (operands[0], operands[0], reg3));
> @@ -4406,7 +4419,8 @@ move\\t%0,%z4\\n\\
> emit_label (label1);
> emit_move_insn (reg2, gen_rtx_MINUS (SFmode, operands[1], reg1));
> - emit_move_insn (reg3, GEN_INT (BITMASK_HIGH));
> + emit_move_insn (reg3, GEN_INT (trunc_int_for_mode (BITMASK_HIGH,
> + SImode)));
> emit_insn (gen_fix_truncsfsi2 (operands[0], reg2));
> emit_insn (gen_iorsi3 (operands[0], operands[0], reg3));
For the sake of uniformity, I'm changing the second of these hunks so
that it looks like the first one:
Index: gcc/config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/mips.md,v
retrieving revision 1.92
diff -u -p -r1.92 mips.md
--- gcc/config/mips/mips.md 2001/05/06 19:35:41 1.92
+++ gcc/config/mips/mips.md 2001/05/06 19:42:17
@@ -4419,8 +4419,8 @@ move\\t%0,%z4\\n\\
emit_label (label1);
emit_move_insn (reg2, gen_rtx_MINUS (SFmode, operands[1], reg1));
- emit_move_insn (reg3, GEN_INT (trunc_int_for_mode (BITMASK_HIGH,
- SImode)));
+ emit_move_insn (reg3, GEN_INT (trunc_int_for_mode
+ (BITMASK_HIGH, SImode)));
emit_insn (gen_fix_truncsfsi2 (operands[0], reg2));
emit_insn (gen_iorsi3 (operands[0], operands[0], reg3));
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me