From: Nick Clifton Date: Tue, 30 Mar 2004 10:31:31 +0000 (+0000) Subject: (thumb_jump): Reduce the backward branch range... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2246edceffe24dc9aa8cebd10f5d3bd6d23e558;p=gcc.git (thumb_jump): Reduce the backward branch range... (thumb_jump): Reduce the backward branch range, and increase the forward branch range, to allow for the fact that the PC will be off by 4. From-SVN: r80083 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b81143c6448..3c67253a007 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-30 Nick Clifton + + * config/arm/arm.md (thumb_jump): Reduce the backward branch + range, and increase the forward branch range, to allow for + the fact that the PC will be off by 4. + 2004-03-30 Alan Modra * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL) diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 0a5fbd29947..51f94878295 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -7350,8 +7350,8 @@ (const_string "no"))) (set (attr "length") (if_then_else - (and (ge (minus (match_dup 0) (pc)) (const_int -2048)) - (le (minus (match_dup 0) (pc)) (const_int 2044))) + (and (ge (minus (match_dup 0) (pc)) (const_int -2044)) + (le (minus (match_dup 0) (pc)) (const_int 2048))) (const_int 2) (const_int 4)))] )