diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-04-02 16:34:41 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2005-04-02 16:34:41 +0000 |
commit | 3a5afdfc208747167216c3318134c159860b59b2 (patch) | |
tree | 93735860242a17ccd92d4d68a864cf71bcd31771 /gcc/config/cris | |
parent | 4ee3998918974120f7850e40ea328b898566e8b6 (diff) | |
download | gcc-3a5afdfc208747167216c3318134c159860b59b2.zip gcc-3a5afdfc208747167216c3318134c159860b59b2.tar.gz gcc-3a5afdfc208747167216c3318134c159860b59b2.tar.bz2 |
* config/cris/cris.md (attribute "length"): Define.
From-SVN: r97440
Diffstat (limited to 'gcc/config/cris')
-rw-r--r-- | gcc/config/cris/cris.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index 0a9d419..5a794c5 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", |