diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa213dd..21467c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 32d8645..b471a4a 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -3544,6 +3544,9 @@ "" "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" @@ -3555,6 +3558,9 @@ "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" @@ -3577,7 +3583,12 @@ 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 |