sh.md (reload_outsf): Generate recognizable patterns for TARGET_SH3E.

* sh.md (reload_outsf): Generate recognizable patterns for
TARGET_SH3E.

From-SVN: r38832
This commit is contained in:
Bernd Schmidt 2001-01-09 14:23:50 +00:00 committed by Alexandre Oliva
parent 186c0fbe03
commit 7894cb2753
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-01-09 Bernd Schmidt <bernds@redhat.com>
* sh.md (reload_outsf): Generate recognizable patterns for
TARGET_SH3E.
2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
* c-lang.c (lang_hooks): Update.

View File

@ -2961,7 +2961,15 @@
(match_dup 2))
(clobber (scratch:SI))])]
""
"")
"
{
if (TARGET_SH3E)
{
emit_insn (gen_movsf_ie (operands[2], operands[1], get_fpscr_rtx ()));
emit_insn (gen_movsf_ie (operands[0], operands[2], get_fpscr_rtx ()));
DONE;
}
}")
;; If the output is a register and the input is memory or a register, we have
;; to be careful and see which word needs to be loaded first.