From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124940 invoked by alias); 27 Jul 2015 16:36:01 -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 124930 invoked by uid 89); 27 Jul 2015 16:36:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,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; Mon, 27 Jul 2015 16:36:00 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 8CEB5BB997; Mon, 27 Jul 2015 16:35:58 +0000 (UTC) Received: from localhost.localdomain (ovpn-113-123.phx2.redhat.com [10.3.113.123]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6RGXfeq024408; Mon, 27 Jul 2015 12:33:41 -0400 Subject: Re: [PATCH] Use lowpart_subreg instead of simplify_gen_subreg To: Anatoliy Sokolov , gcc-patches References: <55B53CF1.3070108@post.ru> From: Jeff Law Message-ID: <55B65D65.1070402@redhat.com> Date: Mon, 27 Jul 2015 16:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55B53CF1.3070108@post.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg02284.txt.bz2 On 07/26/2015 02:02 PM, Anatoliy Sokolov wrote: > Hello. > > This patch change function call simplify_gen_subreg (omode, x, imode, > subreg_lowpart_offset (omode, imode)) with lowpart_subreg (omode, x, imode) > and move lowpart_subreg function from loop-iv.c to simplify-rtx.c. > > Bootstrapped and reg-tested on x86_64-unknown-linux-gnu. > > OK for trunk? > > Anatoliy. > > 2015-07-26 Anatoly Sokolov > > * rtl.h (lowpart_subreg): Move in file. > * loop-iv.c (lowpart_subreg): Move to... > * simplify-rtx.c (lowpart_subreg): ...here. > (simplify_binary_operation_1): Use lowpart_subreg instead of > simplify_gen_subreg. > * expr.c (expand_expr_real_2): Ditto. > * emit-rtl.c (gen_lowpart_common): Ditto. > * combine.c (gen_lowpart_for_combine): Ditto. > * cfgexpand.c (convert_debug_memory_address, expand_debug_expr, > expand_debug_source_expr): Ditto. OK. jeff