From: hp Date: Sat, 2 Apr 2005 16:34:41 +0000 (+0000) Subject: * config/cris/cris.md (attribute "length"): Define. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16f9d8de4910de09d24384d1b2fcc06fda59e86f;p=thirdparty%2Fgcc.git * config/cris/cris.md (attribute "length"): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97440 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b9f371a2bbd..86086934cbb9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-04-02 Hans-Peter Nilsson + + * config/cris/cris.md (attribute "length"): Define. + 2005-04-02 Geoffrey Keating * config/rs6000/predicates.md (indexed_or_indirect_operand): New. diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index 0a9d41912aa3..5a794c5c2981 100644 --- a/gcc/config/cris/cris.md +++ b/gcc/config/cris/cris.md @@ -119,6 +119,11 @@ (define_attr "cc" "none,clobber,normal" (const_string "normal")) +;; At the moment, this attribute is just used to help bb-reorder do its +;; work; the default 0 doesn't help it. Many insns have other lengths, +;; though none are shorter. +(define_attr "length" "" (const_int 2)) + ;; A branch or return has one delay-slot. The instruction in the ;; delay-slot is always executed, independent of whether the branch is ;; taken or not. Note that besides setting "slottable" to "has_slot",