From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19936 invoked by alias); 17 Jun 2003 16:27:29 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19885 invoked from network); 17 Jun 2003 16:27:28 -0000 Received: from unknown (HELO mms2.broadcom.com) (63.70.210.59) by sources.redhat.com with SMTP; 17 Jun 2003 16:27:28 -0000 Received: from 63.70.210.1 by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.5.2)); Tue, 17 Jun 2003 09:24:01 -0700 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id JAA13285; Tue, 17 Jun 2003 09:26:57 -0700 (PDT) Received: from ldt-sj3-010.sj.broadcom.com (ldt-sj3-010 [10.21.64.10]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with ESMTP id h5HGRIov001157; Tue, 17 Jun 2003 09:27:18 -0700 (PDT) Received: (from cgd@localhost) by ldt-sj3-010.sj.broadcom.com ( 8.11.6/8.9.3) id h5HGRIU11884; Tue, 17 Jun 2003 09:27:18 -0700 X-Authentication-Warning: ldt-sj3-010.sj.broadcom.com: cgd set sender to cgd@broadcom.com using -f To: ac131313@redhat.com cc: "Kevin Buettner" , gdb-patches@sources.redhat.com Subject: Re: [WIP/RFC] MIPS registers overhaul References: <1030510002453.ZM3880@localhost.localdomain> <3EBD6131.30209@redhat.com> <1030514220025.ZM10373@localhost.localdomain> <3EC461C1.1080104@redhat.com> <3ECA8EC6.6030405@redhat.com> <3EECAB89.10609@redhat.com> <3EEE2B85.6030207@redhat.com> <3EEF253D.9060502@redhat.com> From: cgd@broadcom.com Date: Tue, 17 Jun 2003 16:27:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 X-WSS-ID: 12F19F2B1159426-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00566.txt.bz2 At Tue, 17 Jun 2003 14:27:32 +0000 (UTC), "Andrew Cagney" wrote: > The key bit being that the terminology differentaties between a 32 bit > CP1 register and a 64 bit FPR. ^^^^^^^^^^^^ a.k.a. "FGR" > This also suggests a better way of representing the registers to the user: > > MIPS I: > $cp0, $cp1, ...: 32/64 bit raw co-processor registers I would strongly recommend "$fgrN" since: * that follows the manual more closely (see my previous cites; unfortunately i can't quote the C&V's right now since my Kane is at home 8-), * "cpN" (a.k.a. "copN") already have fairly-well understood meanings in MIPS-wordl which aren't this, and assmuing that one might want to provide useful names for, oh, say, the cp2 registers, and that might confusing very quickly. Of course, re: the latter point of the second bullet, it looks like gcc already believes those registers to be named "$c2rN", so at least little bit's a red herring. 8-) chris