diff options
author | Chris Demetriou <cgd@broadcom.com> | 2002-12-04 19:39:57 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@gcc.gnu.org> | 2002-12-04 11:39:57 -0800 |
commit | ae598ab989bc96176b5218df66234a006acdf52e (patch) | |
tree | 399607e5ca6c5891926edd7ba7b9db424cbd021c | |
parent | 3a45705a51b31911030663fc654b3b3abd522ea9 (diff) | |
download | gcc-ae598ab989bc96176b5218df66234a006acdf52e.zip gcc-ae598ab989bc96176b5218df66234a006acdf52e.tar.gz gcc-ae598ab989bc96176b5218df66234a006acdf52e.tar.bz2 |
mips.md (get_fnaddr): Avoid placing an "la" macro instruction in a branch delay slot...
2002-12-04 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.md (get_fnaddr): Avoid placing an "la"
macro instruction in a branch delay slot, to avoid assembler
warnings.
From-SVN: r59825
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 45562a3..579d884 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-12-04 Chris Demetriou <cgd@broadcom.com> + + * config/mips/mips.md (get_fnaddr): Avoid placing an "la" + macro instruction in a branch delay slot, to avoid assembler + warnings. + 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr> PR c/7622 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 5a67510..c35d68e 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -10040,7 +10040,7 @@ ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\\n\\t%*j\\t%2" (clobber (reg:SI 31))] "TARGET_EMBEDDED_PIC && GET_CODE (operands[1]) == SYMBOL_REF" - "%($LF%= = . + 8\;bal\\t$LF%=\;la\\t%0,%1-$LF%=%)\;addu\\t%0,%0,$31" + "%($LF%= = . + 8\;bal\\t$LF%=\;nop;la\\t%0,%1-$LF%=%)\;addu\\t%0,%0,$31" [(set_attr "type" "call") (set_attr "mode" "none") (set_attr "length" "16")]) |