aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-02-09 19:41:48 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-02-09 19:41:48 +0000
commitcc0744d13f431f05e27f152ef6bb69ecee01c0f0 (patch)
treee8528d65ea72510aed80db4b7643ea8bb6685028
parenta395f5abc5b0ee58ac74d35d3a58e86dcf1a0ef3 (diff)
downloadgcc-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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.md13
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