From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30913 invoked by alias); 21 Oct 2014 14:56:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30895 invoked by uid 89); 21 Oct 2014 14:56:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 21 Oct 2014 14:56:40 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9LEuURa004748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Oct 2014 10:56:30 -0400 Received: from topor.usersys.redhat.com ([10.15.16.142]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9LEuSul006786; Tue, 21 Oct 2014 10:56:29 -0400 Message-ID: <5446741C.6060208@redhat.com> Date: Tue, 21 Oct 2014 14:56:00 -0000 From: Vladimir Makarov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org, ubizjak@gmail.com, markus@trippelsdorf.de, Ganesh.Gopalasubramanian@amd.com, richard.sandiford@arm.com Subject: Re: [PATCH 1/5] Add recog_constrain_insn References: <87bnpabvvx.fsf@e105548-lin.cambridge.arm.com> <874mv2bvnt.fsf@e105548-lin.cambridge.arm.com> In-Reply-To: <874mv2bvnt.fsf@e105548-lin.cambridge.arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg02097.txt.bz2 On 10/17/2014 10:47 AM, Richard Sandiford wrote: > This patch just adds a new utility function called recog_constrain_insn, > to go alongside the existing recog_constrain_insn_cached. > > Note that the extract_insn in lra.c wasn't used when checking is disabled. > The function just moved on to the next instruction straight away. > The RA parts are ok for me. Thanks, Richard. > > gcc/ > * recog.h (extract_constrain_insn): Declare. > * recog.c (extract_constrain_insn): New function. > * lra.c (check_rtl): Use it. > * postreload.c (reload_cse_simplify_operands): Likewise. > * reg-stack.c (check_asm_stack_operands): Likewise. > (subst_asm_stack_regs): Likewise. > * regcprop.c (copyprop_hardreg_forward_1): Likewise. > * regrename.c (build_def_use): Likewise. > * sel-sched.c (get_reg_class): Likewise. > * config/arm/arm.c (note_invalid_constants): Likewise. > * config/s390/predicates.md (execute_operation): Likewise. > >