avr.md (length): Fix length computation for conditional branches.
authorJakub Jelinek <jakub@redhat.com>
Thu, 21 Mar 2002 22:17:49 +0000 (23:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 21 Mar 2002 22:17:49 +0000 (23:17 +0100)
* config/avr/avr.md (length): Fix length computation for
conditional branches.

From-SVN: r51144

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

index de97f031a942f4017e133ceb15f4a496cc4d127a..77b121f25f312c0bd41c1ecdb42fa481690cdfde 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/avr/avr.md (length): Fix length computation for
+       conditional branches.
+
 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
index f432f0e37786e7d71a87ca512c38ec2ea2256d68..762288f6403e8d904f08e9b94cf7bd85cfa2af55 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"