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
This commit is contained in:
Chris Demetriou 2002-12-04 19:39:57 +00:00 committed by Chris Demetriou
parent 3a45705a51
commit ae598ab989
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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")])