From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9784 invoked by alias); 14 May 2003 17:24:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 9694 invoked from network); 14 May 2003 17:24:15 -0000 Received: from unknown (HELO store.norway.atmel.com) (80.232.32.133) by sources.redhat.com with SMTP; 14 May 2003 17:24:15 -0000 Received: (from root@localhost) by store.norway.atmel.com (8.11.6/8.12.3) id h4EHOCa00456 for gcc@gcc.gnu.org; Wed, 14 May 2003 19:24:12 +0200 (CEST) (envelope-from adland@stud.ntnu.no) Received: from dhcp-119b.norway.atmel.com (dhcp-119b.norway.atmel.com [10.191.255.119]) by store.norway.atmel.com (8.11.6/8.12.3) with ESMTP id h4EHOCF00449 for ; Wed, 14 May 2003 19:24:12 +0200 (CEST) (envelope-from adland@stud.ntnu.no) Subject: Address modes From: Anders =?ISO-8859-1?Q?=C5dland?= To: gcc@gcc.gnu.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 14 May 2003 17:24:00 -0000 Message-Id: <1052933065.1236.61.camel@marit> Mime-Version: 1.0 X-Virus-Scanned: AMaViS X-SW-Source: 2003-05/txt/msg01425.txt.bz2 I am using GO_IF_LEGITIMATE_ADDRESS on my port to tell GCC which addresses that are legitime. How can I tell GCC which combinations of addressing modes that are legitime? The expression (set (mem:SI (plus:SI (reg:SI ...) (const_int ...) (mem:SI (reg:SI ...)) is not legitime but (set (mem:SI (plus:SI (reg:SI ...) (const_int ...) (reg:SI ...)) is. Anders