sparc.md (eligible_for_return_delay): New attribute.
authorRichard Henderson <rth@cygnus.com>
Wed, 15 Sep 1999 02:48:32 +0000 (19:48 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 15 Sep 1999 02:48:32 +0000 (19:48 -0700)
        * sparc/sparc.md (eligible_for_return_delay): New attribute.
        (in_return_delay): Use it instead of match_insn.

From-SVN: r29421

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 97ddcd5..fc8f3de 100644 (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.
index 7491351..fb9e8e2 100644 (file)
 (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")))