[kaffe] mipsel JIT3

Casey Marshall rsdio at metastatic.org
Sat Mar 6 13:53:02 PST 2004

Hash: SHA1

>>>>> "Kevin" == Kevin D Kissell <kevink at mips.com> writes:

Kevin> The code generation in jit3-mips.def is going to generate all
Kevin> sorts of broken code if you allow those values to go above 31,
Kevin> I think.  There is no masking of the shifted values as the
Kevin> instruction words are being created.
>>  I masked all the registers when generating instructions, and with
>> the float registers renumbered all of the test/internal tests
>> pass. Kaffe itself won't yet load, however.

Kevin> Did you also flag all the MIPS argument registers as Reserved?
Kevin> As we've all been saying, that's a work-around for a bug that
Kevin> is elsewhere, but it's a simple and effective work-around.

Yes, the problem now stems from floating-point comparisons not
working, which causes the Hashtable constructor to reject the
loadFactor argument.

I *think* this stems from renumbering the registers, which is looking
to be more and more bogus. So fixing the register allocation is the
thing to do, not kludging around it.

But that's for next week.

Kevin> Regards, and regrets to not be able to do this myself,

You've been more than helpful already; thanks.

- -- 
Casey Marshall || rsdio at metastatic.org
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>


More information about the kaffe mailing list