From 36d51583bf75a28e824b2df02e128e3b9beac3ed Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 27 Sep 1992 13:04:57 -0400 Subject: [PATCH] (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand. (SHIFT_COUNT_TRUNCATED): No longer define this. From-SVN: r2261 --- gcc/config/romp/romp.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h index 775805c74d7..7ea85896ad6 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. -- 2.30.2