From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27852 invoked by alias); 15 Apr 2005 19:35:48 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 27829 invoked from network); 15 Apr 2005 19:35:43 -0000 Received: from unknown (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org with SMTP; 15 Apr 2005 19:35:43 -0000 Received: from port-195-158-168-78.dynamic.qsc.de ([195.158.168.78] helo=hattusa.textio) by mx01.qsc.de with esmtp (Exim 3.35 #1) id 1DMWb4-0008Ub-00; Fri, 15 Apr 2005 21:35:22 +0200 Received: from ths by hattusa.textio with local (Exim 4.50) id 1DMWb4-0007ft-6S; Fri, 15 Apr 2005 21:35:22 +0200 Date: Fri, 15 Apr 2005 19:35:00 -0000 To: Paul Koning Cc: macro@linux-mips.org, echristo@redhat.com, newlib@sources.redhat.com, binutils@sources.redhat.com, cgd@broadcom.com Subject: Re: [patch] adjust libgloss addresses for 64-bit Message-ID: <20050415193522.GH21496@hattusa.textio> References: <1113516346.4591.39.camel@localhost.localdomain> <20050414223754.GI32470@hattusa.textio> <1113583817.4591.68.camel@localhost.localdomain> <20050415171813.GG21496@hattusa.textio> <16991.64361.508338.807589@gargle.gargle.HOWL> <16992.5593.542000.552762@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16992.5593.542000.552762@gargle.gargle.HOWL> User-Agent: Mutt/1.5.9i From: Thiemo Seufer X-SW-Source: 2005-04/txt/msg00438.txt.bz2 Paul Koning wrote: > >>>>> "Maciej" == Maciej W Rozycki writes: > > Maciej> But in principle you are right for consistency the presence > Maciej> or the lack of the "d" prefix should imply the size of the > Maciej> operands used as it is so for other assembly instructions. > Maciej> So how about disabling the "wrong" macros completely? That > Maciej> is using as_bad() for these two "dla/la used to load..." > Maciej> messages just below "do_la" that are currently warnings. > Maciej> After all these load address macros are the only place where > Maciej> non-default address calculation rules can be argued about at > Maciej> all -- the interpretation of e.g.: > > Maciej> lh $2, 0x80000000 lh $2, 0x80000000($3) lh $2, foo + > Maciej> 0x80000000($3) lh $2, foo + 0xc000000080000000($3) > > One answer would be to use an implicit DLA for N64, and LA otherwise. > I was thinking more about explicitly written LA vs. DLA. > > All this demonstrates once again that the whole built-in macro stuff > in the MIPS assembler was a design blunder from day one. Sigh. > > Fortunately, GCC no longer uses any of this... For 64bit non-PIC it still does. Thiemo