From 1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 14 Sep 1999 19:48:32 -0700 Subject: [PATCH] sparc.md (eligible_for_return_delay): New attribute. * sparc/sparc.md (eligible_for_return_delay): New attribute. (in_return_delay): Use it instead of match_insn. From-SVN: r29421 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.md | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97ddcd557dc..fc8f3ded28b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 14 19:43:16 1999 Richard Henderson + + * sparc/sparc.md (eligible_for_return_delay): New attribute. + (in_return_delay): Use it instead of match_insn. + Tue Sep 14 23:05:37 1999 Alexandre Oliva * config/alpha/va_list.h (va-alpha.h): Do not include. diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 74913519e01..fb9e8e27760 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -161,11 +161,14 @@ (define_attr "leaf_function" "false,true" (const (symbol_ref "current_function_uses_only_leaf_regs"))) +(define_attr "eligible_for_return_delay" "false,true" + (symbol_ref "eligible_for_return_delay(insn)")) + (define_attr "in_return_delay" "false,true" (if_then_else (and (and (and (eq_attr "type" "move,load,sload,store,binary,ialu") (eq_attr "length" "1")) (eq_attr "leaf_function" "false")) - (match_insn "eligible_for_return_delay")) + (eq_attr "eligible_for_return_delay" "false")) (const_string "true") (const_string "false"))) -- 2.30.2