diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/avr/avr.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de97f03..77b121f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md index f432f0e..762288f 100644 --- a/gcc/config/avr/avr.md +++ b/gcc/config/avr/avr.md @@ -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" |