Re: fixed registers in mips

2005-09-26 Thread Ian Lance Taylor
Eric Fisher <[EMAIL PROTECTED]> writes: > I'd like to know why mips doesn't define $30 and $31 as fix registers? > And when should they be defined true? Neither register has a use which is fixed by either the hardware or the ABI. $30 is generally the frame pointer, but gcc will only use a frame

fixed registers in mips

2005-09-26 Thread Eric Fisher
Hello, I'd like to ask a question about target macros of registers. In mips.h, the fixed registers are defined as follows: /* By default, fix the kernel registers ($26 and $27), the global pointer ($28) and the stack pointer ($29). This can change depending on the command-line options.