From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9151 invoked by alias); 22 Jun 2010 14:52:52 -0000 Received: (qmail 9142 invoked by uid 22791); 22 Jun 2010 14:52:50 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.17.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Jun 2010 14:52:44 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5MEqfK8005326 for ; Tue, 22 Jun 2010 14:52:41 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5MEqf2I1548338 for ; Tue, 22 Jun 2010 16:52:41 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5MEqf1h007401 for ; Tue, 22 Jun 2010 16:52:41 +0200 Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com [9.149.167.114]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id o5MEqfUl007393 for ; Tue, 22 Jun 2010 16:52:41 +0200 Subject: Help with reload X-KeepSent: 47E5ECAA:FB9CAD3F-C225774A:004A51CD; type=4; name=$KeepSent To: gcc@gcc.gnu.org Message-ID: From: Revital1 Eres Date: Tue, 22 Jun 2010 18:47:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00674.txt.bz2 Hello, I have a question regarding code generation for a new target I'm working on. I am using GCC 4.6. In reload pass the following first instruction is replaced with the second one after spilling reg 182 to the stack. The problem is that the generated new instruction does not have a valid address format and I'm not sure why it was considered as a valid replacement. Any help on how to resolve this is appreciated. (insn 282 150 151 13 jctrans.c:109 (set (reg:SI 12 r12) (mem/s:SI (plus:SI (reg/v/f:SI 182 [ incomp ]) (const_int 8 [0x8])) [6 *incomp_85 S4 A32])) -1 (nil)) (insn 282 150 151 13 jctrans.c:109 (set (reg:SI 12 r12) (mem/s:SI (plus:SI (mem/c:SI (plus:SI (reg/f:SI 63 r63) (const_int -12 [0xfffffff4])) [56 %sfp+-12 S4 A32]) (const_int 8 [0x8])) [6 *incomp_85 S4 A32])) -1 (nil)) Thanks, Revital