]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avr.md (length): Fix length computation for conditional branches.
authorMarek Michalkiewicz <marekm@amelek.gda.pl>
Sun, 19 May 2002 14:56:30 +0000 (16:56 +0200)
committerMarek Michalkiewicz <marekm@gcc.gnu.org>
Sun, 19 May 2002 14:56:30 +0000 (14:56 +0000)
2002-03-21  Jakub Jelinek  <jakub@redhat.com>
* config/avr/avr.md (length): Fix length computation for
conditional branches.

From-SVN: r53625

gcc/ChangeLog
gcc/config/avr/avr.md

index b983d31c33cf5bce3601f1aab1e711bf98335282..7f38f4f2faecc5729191d372db4339dac35ac070 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       2002-03-21  Jakub Jelinek  <jakub@redhat.com>
+       * config/avr/avr.md (length): Fix length computation for
+       conditional branches.
+
 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
 
        * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
index de7b6100657a7a30bf0490d0cf193640717372de..ae46f337ddd62e0d9e105162cb5e186354c5298c 100644 (file)
@@ -68,7 +68,7 @@
                                           (le (minus (pc) (match_dup 0))
                                               (const_int 2045)))
                                      (const_int 2)
-                                     (const_int 2)))
+                                     (const_int 3)))
          (eq_attr "type" "branch1")
          (if_then_else (and (ge (minus (pc) (match_dup 0))
                                 (const_int -62))
@@ -80,7 +80,7 @@
                                           (le (minus (pc) (match_dup 0))
                                               (const_int 2043)))
                                      (const_int 3)
-                                     (const_int 3)))]
+                                     (const_int 4)))]
         (const_int 2)))
 
 (define_insn "*pop1"