summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-14 15:16:50 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-14 15:16:50 +0000
commit11964566ad7690c109fcd0568fdcfe19343b7a3e (patch)
treeaa135579d7233af3de679ce61beec4463472df8f /gcc
parent318db53a351dc34881699ce09860c56742ef52dc (diff)
downloadgcc-11964566ad7690c109fcd0568fdcfe19343b7a3e.tar.gz
* config/stormy16/stormy16.md (ineqbranch_1): Do not assume that
comparisons with small integers will always produce a short branch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/stormy16/stormy16.md2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e489fc0ac54..d637606d263 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-14 Nick Clifton <nickc@redhat.com>
+
+ * config/stormy16/stormy16.md (ineqbranch_1): Do not assume that
+ comparisons with small integers will always produce a short
+ branch.
+
2009-04-14 Rafael Avila de Espindola <espindola@google.com>
Merge:
diff --git a/gcc/config/stormy16/stormy16.md b/gcc/config/stormy16/stormy16.md
index 285a82f5dca..43e454804a1 100644
--- a/gcc/config/stormy16/stormy16.md
+++ b/gcc/config/stormy16/stormy16.md
@@ -903,7 +903,7 @@
(if_then_else (match_operator:HI 4 "xstormy16_ineqsi_operator"
[(minus:HI (match_operand:HI 1 "register_operand" "T,r,r")
(zero_extend:HI (reg:BI CARRY_REG)))
- (match_operand:HI 3 "nonmemory_operand" "L,Ir,i")])
+ (match_operand:HI 3 "nonmemory_operand" "L,r,i")])
(label_ref (match_operand 0 "" ""))
(pc)))
(set (match_operand:HI 2 "register_operand" "=1,1,1")