diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-02-09 19:41:48 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-02-09 19:41:48 +0000 |
commit | cc0744d13f431f05e27f152ef6bb69ecee01c0f0 (patch) | |
tree | e8528d65ea72510aed80db4b7643ea8bb6685028 /gcc | |
parent | a395f5abc5b0ee58ac74d35d3a58e86dcf1a0ef3 (diff) | |
download | gcc-cc0744d13f431f05e27f152ef6bb69ecee01c0f0.zip gcc-cc0744d13f431f05e27f152ef6bb69ecee01c0f0.tar.gz gcc-cc0744d13f431f05e27f152ef6bb69ecee01c0f0.tar.bz2 |
sh.md (sibcalli, [...]): Set fp_mode attribute.
* config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
fp_mode attribute.
From-SVN: r39568
Diffstat (limited to 'gcc')
-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 |