]> gcc.gnu.org Git - gcc.git/commitdiff
sh.md (sibcalli, [...]): Set fp_mode attribute.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 9 Feb 2001 19:41:48 +0000 (19:41 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 9 Feb 2001 19:41:48 +0000 (19:41 +0000)
* config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
fp_mode attribute.

From-SVN: r39568

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

index fa213ddd692bf7381c0baf5439041fb57b409d1b..21467c86dc86880d389f4300e55040e2599604a6 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
+       fp_mode attribute.
+
 2001-02-09  Nick Clifton  <nickc@redhat.com>
 
        * config/arm/arm.md: Change output contraint on post inc
index 32d86456102dec40a95ab148da9591c4b0d91210..b471a4a97737c82bf2a68d37ace8b68d0f9d31fe 100644 (file)
   ""
   "jmp @%0%#"
   [(set_attr "needs_delay_slot" "yes")
+   (set (attr "fp_mode")
+       (if_then_else (eq_attr "fpu_single" "yes")
+                     (const_string "single") (const_string "double")))
    (set_attr "type" "jump_ind")])
 
 (define_insn "sibcalli_pcrel"
   "TARGET_SH2"
   "braf        %0\\n%O2:%#"
   [(set_attr "needs_delay_slot" "yes")
+   (set (attr "fp_mode")
+       (if_then_else (eq_attr "fpu_single" "yes")
+                     (const_string "single") (const_string "double")))
    (set_attr "type" "jump_ind")])
 
 (define_insn_and_split "sibcall_pcrel"
                                                  lab));
   SIBLING_CALL_P (call_insn) = 1;
   DONE;
-}")
+}"
+  [(set_attr "needs_delay_slot" "yes")
+   (set (attr "fp_mode")
+       (if_then_else (eq_attr "fpu_single" "yes")
+                     (const_string "single") (const_string "double")))
+   (set_attr "type" "jump_ind")])
 
 (define_expand "sibcall"
   [(parallel
This page took 0.08292 seconds and 5 git commands to generate.