From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13439 invoked by alias); 21 Jun 2011 12:24:29 -0000 Received: (qmail 13428 invoked by uid 22791); 21 Jun 2011 12:24:28 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.160) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jun 2011 12:24:15 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by post.strato.de (cohen mo63) (RZmta 25.18) with ESMTPA id 201e69n5LAfHoF ; Tue, 21 Jun 2011 14:16:39 +0200 (MEST) Message-ID: <4E008BA6.7060909@gjlay.de> Date: Tue, 21 Jun 2011 12:39:00 -0000 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: Denis Chertykov CC: gcc-patches@gcc.gnu.org, Anatoly Sokolov , "Eric B. Weddington" Subject: Re: [Patch, AVR]: Fix PR33049 (implement extzv) References: <4DFF88C7.3080809@gjlay.de> <4E006828.2060404@gjlay.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-06/txt/msg01591.txt.bz2 Denis Chertykov schrieb: > 2011/6/21 Georg-Johann Lay: >> Ok. d_register_operand or satisfies_constraint_d would do. But I >> preferred to introduce a new constraint for 4 and avoid splitting >> *extzv altogether to keep it simple. Complexity of splitting is not a >> real advantage over writing things down directly. >> >> As avr is running out of constraint letters, I started 3-letter >> constraints 'Y**' in the style of bfin. Would be nice if 'K' was not >> already occupied or could be deprecated (is'n not really useful in >> inline asm)... > > Better to choose starting letter different to pointer register names X,Y,Z. > May be better to use underscore '_' ? > > Denis. My preference would be to change 'K' to 'K02' and thus deprecate 'K'. Other letters are 'A', 'B', 'C', D', 'R', 'S', 'T', 'U', 'W', 'Z'. I do not like '_' as constraint. 'R' might be needed in the future for more register constraints (r24, r24-r25, r22-25, ...) and 'R' is a nice prefix. 'C' looks appealing for constant. Johann