mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 01:11:52 +02:00
1c0fd705a6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18059 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
557 B
Diff
14 lines
557 B
Diff
--- a/gcc/config/cris/cris.md
|
|
+++ b/gcc/config/cris/cris.md
|
|
@@ -4920,7 +4920,9 @@
|
|
"REGNO (operands[2]) == REGNO (operands[0])
|
|
&& INTVAL (operands[3]) <= 65535 && INTVAL (operands[3]) >= 0
|
|
&& !CONST_OK_FOR_LETTER_P (INTVAL (operands[3]), 'I')
|
|
- && !side_effects_p (operands[1])"
|
|
+ && !side_effects_p (operands[1])
|
|
+ && (!REG_P (operands[1])
|
|
+ || REGNO (operands[1]) <= CRIS_LAST_GENERAL_REGISTER)"
|
|
;; FIXME: CC0 valid except for M (i.e. CC_NOT_NEGATIVE).
|
|
[(set (match_dup 0) (match_dup 4))
|
|
(set (match_dup 5) (match_dup 6))]
|