aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-09-27 13:04:57 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-09-27 13:04:57 -0400
commit36d51583bf75a28e824b2df02e128e3b9beac3ed (patch)
tree99d507f834cbe008a787109918003348c45d820f /gcc
parente4e0d64982af015f48c24ce4127dcbee07a8d99c (diff)
downloadgcc-36d51583bf75a28e824b2df02e128e3b9beac3ed.zip
gcc-36d51583bf75a28e824b2df02e128e3b9beac3ed.tar.gz
gcc-36d51583bf75a28e824b2df02e128e3b9beac3ed.tar.bz2
(EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this. From-SVN: r2261
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/romp/romp.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h
index 775805c..7ea8589 100644
--- a/gcc/config/romp/romp.h
+++ b/gcc/config/romp/romp.h
@@ -421,7 +421,7 @@ enum reg_class { NO_REGS, R0_REGS, R15_REGS, BASE_REGS, GENERAL_REGS,
&& REGNO (OP) >= FIRST_PSEUDO_REGISTER \
&& reg_renumber != 0 \
&& reg_renumber[REGNO (OP)] < 0) \
- || (memory_operand (OP, VOIDmode) \
+ || (GET_CODE (OP) == MEM \
&& ! symbolic_memory_operand (OP, VOIDmode))) \
: (C) == 'R' ? current_function_operand (OP, VOIDmode) \
: (C) == 'S' ? constant_pool_address_operand (OP, VOIDmode) \
@@ -1226,8 +1226,12 @@ struct rt_cargs {int gregs, fregs; };
#define NO_FUNCTION_CSE
/* Define this if shift instructions ignore all but the low-order
- few bits. */
-#define SHIFT_COUNT_TRUNCATED
+ few bits.
+
+ This is not true on the RT since it uses the low-order 6, not 5, bits.
+ At some point, this should be extended to see how to express that. */
+
+/* #define SHIFT_COUNT_TRUNCATED */
/* Compute the cost of computing a constant rtl expression RTX whose
rtx-code is CODE, contained within an expression of code OUTER_CODE.