From cc0744d13f431f05e27f152ef6bb69ecee01c0f0 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 9 Feb 2001 19:41:48 +0000 Subject: [PATCH] sh.md (sibcalli, [...]): Set fp_mode attribute. * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set fp_mode attribute. From-SVN: r39568 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 + + * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set + fp_mode attribute. + 2001-02-09 Nick Clifton * 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 -- 2.7.4