diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-14 19:48:32 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-14 19:48:32 -0700 |
commit | 1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918 (patch) | |
tree | 15979a685f18b74b3544e49d3ef8e03e0c84cc9a /gcc | |
parent | d6bd825c23c60d95796930a2973a82eaf47d8f80 (diff) | |
download | gcc-1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918.zip gcc-1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918.tar.gz gcc-1c57c60c5ebaa77f277eb5d5c6e1880b05ac9918.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.md | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 97ddcd5..fc8f3de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 7491351..fb9e8e2 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"))) |