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]

Re: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2


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

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