mips.md (casesi_internal, [...]): Protect jump delay slot instructions with .set...
authorChris Demetriou <cgd@broadcom.com>
Fri, 8 Feb 2002 22:51:30 +0000 (22:51 +0000)
committerChris Demetriou <cgd@gcc.gnu.org>
Fri, 8 Feb 2002 22:51:30 +0000 (14:51 -0800)
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (casesi_internal, casesi_internal_di):
        Protect jump delay slot instructions with .set noreorder and
        .set nomacro.

[Also, fix date on my previous checkin to the ChangeLog file.  It
should have been today's date.]

From-SVN: r49624

gcc/ChangeLog
gcc/config/mips/mips.md

index 5736247bb10493635acc5fdb48bbba466f4175b8..c831ae00b92add422c3ad83dba048422e0220fc0 100644 (file)
@@ -1,4 +1,10 @@
-2002-02-07  Chris Demetriou  <cgd@broadcom.com>
+2002-02-08  Chris Demetriou  <cgd@broadcom.com>
+
+        * config/mips/mips.md (casesi_internal, casesi_internal_di):
+        Protect jump delay slot instructions with .set noreorder and
+        .set nomacro.
+
+2002-02-08  Chris Demetriou  <cgd@broadcom.com>
 
        * config/mips/mips.md (casesi_internal_di): Calculate
        the index into the target offset table correctly.
index ba3e9754c5b86b847c4a41e669145c16c2931a71..19049af2ee33c55cad7bd68c81402a7574ccdb84 100644 (file)
@@ -9476,7 +9476,7 @@ move\\t%0,%z4\\n\\
    (clobber (reg:SI 31))]
   "TARGET_EMBEDDED_PIC"
   "%(bal\\t%S1\;sll\\t%2,%0,2\\n%~%S1:\;addu\\t%2,%2,$31%)\;\\
-lw\\t%2,%1-%S1(%2)\;addu\\t%2,%2,$31\;j\\t%2"
+lw\\t%2,%1-%S1(%2)\;addu\\t%2,%2,$31\\n\\t%*j\\t%2"
   [(set_attr "type"    "jump")
    (set_attr "mode"    "none")
    (set_attr "length"  "24")])
@@ -9493,7 +9493,7 @@ lw\\t%2,%1-%S1(%2)\;addu\\t%2,%2,$31\;j\\t%2"
    (clobber (reg:DI 31))]
   "TARGET_EMBEDDED_PIC"
   "%(bal\\t%S1\;sll\\t%2,%0,3\\n%~%S1:\;daddu\\t%2,%2,$31%)\;\\
-ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\;j\\t%2"
+ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\\n\\t%*j\\t%2"
   [(set_attr "type"    "jump")
    (set_attr "mode"    "none")
    (set_attr "length"  "24")])