diff options
author | Nick Clifton <nickc@redhat.com> | 2004-03-30 10:31:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2004-03-30 10:31:31 +0000 |
commit | a2246edceffe24dc9aa8cebd10f5d3bd6d23e558 (patch) | |
tree | c1def46d4b4d77680fc513a9fda0904c9c8f796d /gcc | |
parent | 547799a7eafd76b45c296ab9f540e634cdaa2496 (diff) | |
download | gcc-a2246edceffe24dc9aa8cebd10f5d3bd6d23e558.zip gcc-a2246edceffe24dc9aa8cebd10f5d3bd6d23e558.tar.gz gcc-a2246edceffe24dc9aa8cebd10f5d3bd6d23e558.tar.bz2 |
(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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/arm.md | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b81143c..3c67253 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-30 Nick Clifton <nickc@redhat.com> + + * 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 <amodra@bigpond.net.au> * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL) diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 0a5fbd2..51f9487 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)))] ) |