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]

[2.95.4 PATCH] MIPS block initializers


Could we get this simple patch from the trunk moved to 2.95 branch?  Without
it, initializing a member of a packed structure to 0 generates assembler
errors.

revision 1.61
date: 1999/09/16 12:06:56;  author: aph;  state: Exp;  lines: +1 -1
1999-09-14  Andrew Haley  <aph@cygnus.com>

        * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
        use $0 instead of 0.

Index: mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- mips.md	1999/09/07 05:48:47	1.60
+++ mips.md	1999/09/16 12:06:56	1.61
@@ -4622,7 +4622,7 @@
 
   if ((INTVAL (offset) & 3) == 0
       && (mem_addr == stack_pointer_rtx || mem_addr == frame_pointer_rtx))
-    return \"sw\\t%1,%0\";
+    return \"sw\\t%z1,%0\";
 
   return \"usw\\t%z1,%0\";
 }"


-- 
Daniel Jacobowitz                           Debian GNU/Linux Developer
Monta Vista Software                              Debian Security Team


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