This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [WIP/RFC] MIPS registers overhaul


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]