* sh.md (reload_outsf): Generate recognizable patterns for
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jan 2001 14:23:50 +0000 (14:23 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jan 2001 14:23:50 +0000 (14:23 +0000)
TARGET_SH3E.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38832 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.md

index 0c297ec..a1aece5 100644 (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.
index 1acbdf3..dbd9759 100644 (file)
                   (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.