Re: [WIP/RFC] MIPS registers overhaul

cgd
2003-06-17T16:27:29Z

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