From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32374 invoked by alias); 23 Sep 2019 15:26:33 -0000 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 Received: (qmail 32365 invoked by uid 89); 23 Sep 2019 15:26:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Sep 2019 15:26:31 +0000 IronPort-SDR: 509Yb49Ij3hIELOYcZ2o4gPwbDqLPPCRZMzwD6Euh5KDTKm/wWNfsBbSm+RQ7yEYRfxmUwqczy U1ignzNsqxBEyek/kCa9/xadb21Lgwkg6YYKMM7PlvSQC29jDIDJNi1Dh8XWyKNziWUSeoLwoe YiCByjRegyheN3xiTHHi6Duzl3eLoADaI11uKPxmXsSV9xkVWAigt7ubr4/qew3ptod3bGuZv2 j/T1QsGQeVSTt1SbwhLELRHzrhdQBAxq1BIaisqcs9zesr5YSdTbIeHl5QMTHeCg6nhxNnE1ow US8= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 23 Sep 2019 07:26:30 -0800 IronPort-SDR: 1VmcfzEUhzpuQVzxrWbb3wYI5meK4ejzBEvq9uXqjyoVGIsjF4ZYzREgBlcrbhJ67axpMseRWn TVSi8upS6QBjx0jUHF8q9ccATdm26/KGTHrN0xQTCfSusf/DLfnBzxk1qC79KZZ9AKX9yxBM2u Mmh04PyB+fIg5OyJaX3RlaWM+Rjmn/GNp0E6N3MUZ1uj8V8TaBxU0KCXvbyRTmRMg8iJ5mV0XC qRJrCkq3831JGKt+Va2wrLP73NzwT3IwOH7HzLfJBMSq2TQKzQQ2N4fXPwBB0hjkZbngdyWWHz 1Ng= Subject: Re: RTL alternative selection question To: Segher Boessenkool CC: GCC Development References: <1a7febb4-197e-eca7-4fcf-99bf5cb8bdf6@mentor.com> <20190923141517.GH9749@gate.crashing.org> <57be9ba9-94b3-3aea-37ce-ca2cd55bd34c@mentor.com> <20190923152134.GI9749@gate.crashing.org> From: Andrew Stubbs Message-ID: <51226fe5-8492-ecc9-59e0-0159f7a77690@mentor.com> Date: Mon, 23 Sep 2019 15:26:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190923152134.GI9749@gate.crashing.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: andrew_stubbs@mentor.com X-SW-Source: 2019-09/txt/msg00202.txt.bz2 On 23/09/2019 16:21, Segher Boessenkool wrote: > Pass the register class or constraint or something like that to the hook, > then based on what the hook returns, either or not do the reject? So your > hook would special-case SCC_CONDITIONAL_REG, maybe a few more similar ones > (those are confusing names btw, _REG but they are register classes). It's a class of one register! Thanks Andrew