From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48435 invoked by alias); 30 Sep 2019 12:17:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 48425 invoked by uid 89); 30 Sep 2019 12:17:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_40,GIT_PATCH_1,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:693, H*UA:16.0, H*x:16.0, H*UA:Outlook X-HELO: franke.ms Received: from serveronline.org (HELO franke.ms) (78.46.86.77) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Sep 2019 12:17:24 +0000 Received: from Thinky (pD9E55BDC.dip0.t-ipconnect.de [217.229.91.220]) by serveronline.org (BEJY V1.6.12-SNAPSHOT (c) 2000-2019 by BebboSoft, Stefan "Bebbo" Franke, all rights reserved) with SMTP id 16d821a8ba68719270cfc74cb12 from stefan@franke.ms for gcc-help@gcc.gnu.org; Mon, 30 Sep 2019 13:17:20 +0100 From: To: Subject: make static method find_reloads_address_1(...) extern accessible Date: Mon, 30 Sep 2019 12:17:00 -0000 Message-ID: <006001d57789$02636170$072a2450$@franke.ms> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2019-09/txt/msg00109.txt.bz2 I've implemented LEGITIMIZE_RELOAD_ADDRESS and that implementation is calling find_reloads_address_1. My implementation adds double indirect addressing to the m68k target and since the use of an outer index register or offset depends on the use of an inner index register or offset, since only one index register and one offset is allowed per address. => The recursive reload implementation does not work. So the LEGITIMIZE_RELOAD_ADDRESS takes care of the whole address at once. How are the chances that a static method of reload is converted into an extern accessible method, if a patch would requires it? Regards Stefan