diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-09 17:19:00 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-09 17:19:00 +0000 |
commit | a625f5743d68e9afe4ac1c9f44029fbd29e80b10 (patch) | |
tree | ecefe27a2dea253dea7861a9421a8f229e9eaf40 /gcc/config/h8300 | |
parent | 5aae38fb057b24d1ce09120d9ce5c2d74bb5889e (diff) | |
download | gcc-a625f5743d68e9afe4ac1c9f44029fbd29e80b10.tar.gz |
* config/h8300/h8300.md (length): Correct the distance valid
for the short branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r-- | gcc/config/h8300/h8300.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 415eb8598f0..457c8770005 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -67,10 +67,10 @@ (define_attr "length" "" (cond [(eq_attr "type" "branch") - (if_then_else (and (ge (minus (pc) (match_dup 0)) - (const_int -120)) - (le (minus (pc) (match_dup 0)) - (const_int 120))) + (if_then_else (and (ge (minus (match_dup 0) (pc)) + (const_int -126)) + (le (minus (match_dup 0) (pc)) + (const_int 126))) (const_int 2) (if_then_else (and (eq_attr "cpu" "h8300h") (and (ge (minus (pc) (match_dup 0)) |