* config/cris/cris.md (attribute "length"): Define.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Apr 2005 16:34:41 +0000 (16:34 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Apr 2005 16:34:41 +0000 (16:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97440 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/cris/cris.md

index 0b9f371..8608693 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.md (attribute "length"): Define.
+
 2005-04-02  Geoffrey Keating  <geoffk@apple.com>
 
        * config/rs6000/predicates.md (indexed_or_indirect_operand): New.
index 0a9d419..5a794c5 100644 (file)
 
 (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",