From: Richard Henderson Date: Wed, 15 Sep 1999 02:48:32 +0000 (-0700) Subject: sparc.md (eligible_for_return_delay): New attribute. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918;p=gcc.git 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 --- 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")))