[kaffe] JIT3 Questions

Kevin D. Kissell kevink at mips.com
Mon Mar 10 07:41:01 PST 2003


Never mind.  It looks as if there was a bug in the JIT diagnostic trace
that isn't in the generated code itself.  Note:

>         /* Save callee save regs */
>         for (i = 0; i < 8; i++) {
>                 ldst_RRC(_SW, REG_s0+i, REG_fp, -SLOTSIZE*(5+i));
>                 debug(("        sw      %s,%d(fp)\n",regname(REG_s0+i),-SLOTSIZE*(4+i)));
>         }

SLOTSIZE*(4+i) is being reported as the frame offset used, but it's the
(arguably more correct) value of SLOTSIZE*(5+i) that was being used.

            Kevin K.




More information about the kaffe mailing list