From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17906 invoked by alias); 1 Jul 2003 21:50:04 -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 17897 invoked from network); 1 Jul 2003 21:50:02 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 1 Jul 2003 21:50:02 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AF23F2B5F; Tue, 1 Jul 2003 17:50:00 -0400 (EDT) Message-ID: <3F020208.5060900@redhat.com> Date: Tue, 01 Jul 2003 21:50:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fred Fish Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Eliminate hard coded constant num_regs in mips_gdbarch_init References: <20030627202552.A18648B5FD@bletchley.vert.intrinsity.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00018.txt.bz2 > It's about par for the course :-( The code also assumes that >> mips_r3041_reg_names, mips_r3051_reg_names and mips_r3081_reg_names are >> the same size (90 - 32). If you're trying to add more than 90 >> registers, you've a bigger problem. > > > Currently we have at total of 416 registers defined, including the you have a bigger problem :-( > standard mips architecture registers. However that includes an > individual register for every element of each matrix register, each of > which holds 16 32-bit values. I'm working on redefining the register > set more like how the MMX and Altivec registers work, where $m0 is a > single register instead of 16 individual registers ($m0_00, > ... $m0_15). Insight, at least, works much better when you do this. Also note the ``reggroups'', it lets you categorize all the registers - again working much better with GUIs. Andrew