[kaffe] mipsel JIT3
stack at cs.utah.edu
Sat Mar 6 15:09:02 PST 2004
On Mar 6, 2004, at 2:51 PM, Casey Marshall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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.
You might want to try adding some floating point tests to the
test/internal/ParameterizedLogicalMethods.java file since it does
not have any at the moment. It might be easier to see whats working
or not in the smaller environment.
> I *think* this stems from renumbering the registers, which is looking
> to be more and more bogus.
I'd suggest looking harder at what the backend is doing before
> Casey Marshall || rsdio at metastatic.org
More information about the kaffe