diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-04 11:12:10 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1995-05-04 11:12:10 -0700 |
commit | 97f8690b7495a1a1fe7fa6ef7d33dfeb55c2b42c (patch) | |
tree | 2ec47ec219fad7661282b4c800b19080f1a7ae00 /gcc | |
parent | c5d67833be0e181b1a8017117d3dff128079dd98 (diff) | |
download | gcc-97f8690b7495a1a1fe7fa6ef7d33dfeb55c2b42c.zip gcc-97f8690b7495a1a1fe7fa6ef7d33dfeb55c2b42c.tar.gz gcc-97f8690b7495a1a1fe7fa6ef7d33dfeb55c2b42c.tar.bz2 |
(general_movsrc_operand, general_movdst_operand): Delete
references to POST_DEC and PRE_INC.
From-SVN: r9571
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sh/sh.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 813d29a2..1783a31 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -1663,9 +1663,7 @@ general_movsrc_operand (op, mode) return 1; /* Only post inc allowed. */ - if (GET_CODE (inside) == POST_DEC - || GET_CODE (inside) == PRE_INC - || GET_CODE (inside) == PRE_DEC) + if (GET_CODE (inside) == PRE_DEC) return 0; } @@ -1687,10 +1685,7 @@ general_movdst_operand (op, mode) enum machine_mode mode; { /* Only pre dec allowed. */ - if (GET_CODE (op) == MEM - && (GET_CODE (XEXP (op, 0)) == PRE_INC - || GET_CODE (XEXP (op, 0)) == POST_INC - || GET_CODE (XEXP (op, 0)) == POST_DEC)) + if (GET_CODE (op) == MEM && GET_CODE (XEXP (op, 0)) == POST_INC) return 0; return general_operand (op, mode); |