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
This commit is contained in:
Richard Henderson 1999-09-14 19:48:32 -07:00 committed by Richard Henderson
parent d6bd825c23
commit 1c57c60c5e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
* 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 <oliva@lsd.ic.unicamp.br>
* config/alpha/va_list.h (va-alpha.h): Do not include.

View File

@ -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")))