From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60110 invoked by alias); 17 Nov 2017 03:32:46 -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 60090 invoked by uid 89); 17 Nov 2017 03:32:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=machmode.h, machmodeh, UD:machmode.h, targhooksc 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 ESMTP; Fri, 17 Nov 2017 03:32:42 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 84AD4C0587C5; Fri, 17 Nov 2017 03:32:41 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-12.rdu2.redhat.com [10.10.112.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id A6AD577B09; Fri, 17 Nov 2017 03:32:40 +0000 (UTC) Subject: Re: [003/nnn] poly_int: MACRO_MODE To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <871sltvm7r.fsf@linaro.org> <87lgk1u7ez.fsf@linaro.org> From: Jeff Law Message-ID: <765be273-bac0-0962-3683-6eeebde1d2b5@redhat.com> Date: Fri, 17 Nov 2017 03:36:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87lgk1u7ez.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg01410.txt.bz2 On 10/23/2017 10:59 AM, Richard Sandiford wrote: > This patch uses a MACRO_MODE wrapper for the target macro invocations > in targhooks.c and address.h, so that macros for non-AArch64 targets > can continue to treat modes as fixed-size. > > It didn't seem worth converting the address macros to hooks since > (a) they're heavily used, (b) they should be probably be replaced > with a different interface rather than converted to hooks as-is, > and most importantly (c) addresses.h already localises the problem. > > > 2017-10-23 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * machmode.h (MACRO_MODE): New macro. > * addresses.h (base_reg_class, ok_for_base_p_1): Use it. > * targhooks.c (default_libcall_value, default_secondary_reload) > (default_memory_move_cost, default_register_move_cost) > (default_class_max_nregs): Likewise. OK. jeff