aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-03-21 23:17:49 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2002-03-21 23:17:49 +0100
commit239b8b9dd67cfcf41249d63d21a49773f5b26006 (patch)
tree9380b07a87e0fc26232e93028eee9c54780840a0 /gcc
parent5bb366e023bc6ca6edf2b394c8c6528ebe9e02d4 (diff)
downloadgcc-239b8b9dd67cfcf41249d63d21a49773f5b26006.zip
gcc-239b8b9dd67cfcf41249d63d21a49773f5b26006.tar.gz
gcc-239b8b9dd67cfcf41249d63d21a49773f5b26006.tar.bz2
avr.md (length): Fix length computation for conditional branches.
* config/avr/avr.md (length): Fix length computation for conditional branches. From-SVN: r51144
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/avr/avr.md4
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"