From: kenner Date: Sun, 27 Sep 1992 17:04:57 +0000 (+0000) Subject: (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8632865e48acb9b70b50b021943f87cabdf1f381;p=platform%2Fupstream%2Flinaro-gcc.git (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand. (SHIFT_COUNT_TRUNCATED): No longer define this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2261 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.