This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: mips $12-$15 are named $t4-$t7


Alexandre Oliva wrote:
> On Apr  7, 2003, Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de> wrote:
> 
> > Have you cross-checked this with the SGI toolchain?
> 
> Nope, I just believed the MIPSpro N32 Handbook:
> 
> Table 2-1      N32 and Native 64-Bit Interface Register Conventions
> $12..$15          t4..t7           Temporaries             Caller-saved
> 
> I find it would be a really bad idea to give the same name to
> different registers depending on the ABI.

IIRC "See MIPS Run" claims this bad idea happened, and it would also
break much code if t0-t3 would disappear.

Note also that the assembly examples in "MIPSpro N32 Handbook" use t0.


Thiemo


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