projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6c03c
)
Fix last patch to allow indexed operand.
author
David Edelsohn
<dje@gcc.gnu.org>
Tue, 25 Sep 2001 18:02:42 +0000
(14:02 -0400)
committer
David Edelsohn
<dje@gcc.gnu.org>
Tue, 25 Sep 2001 18:02:42 +0000
(14:02 -0400)
From-SVN: r45809
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index cf47f98fff18e6a9aec5b1ec75bd4e74777559df..c196489a2347f876125b82c6fdaadeed8461bd76 100644
(file)
--- a/
gcc/config/rs6000/rs6000.c
+++ b/
gcc/config/rs6000/rs6000.c
@@
-1310,8
+1310,8
@@
lwa_operand (op, mode)
&& GET_CODE (XEXP (inner, 0)) != PRE_INC
&& GET_CODE (XEXP (inner, 0)) != PRE_DEC
&& (GET_CODE (XEXP (inner, 0)) != PLUS
- ||
(GET_CODE (XEXP (XEXP (inner, 0), 1)) =
= CONST_INT
-
&& INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0)
));
+ ||
GET_CODE (XEXP (XEXP (inner, 0), 1)) !
= CONST_INT
+
|| INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0
));
}
/* Return 1 if the operand, used inside a MEM, is a valid first argument