[kaffe] jit3, slots and float args
exsvaar at softlab.se
Tue Sep 10 05:02:30 PDT 2002
Maybe someone can help me with this. In my work of porting the jit3 to
IA-64 I have translated the most important icode instructions. I'm
trying to run the HelloWorldApp but the floating point arguments are
When translating java/util/HashMap.<init>(IF)V I get three input
arguments. The macro METHOD_ARG_TYPE tells me that the first one is an
int, the second a float and the third a '(' (reference?). Do these
correspond to the slots localinfo.slot, localinfo.slot and
localinfo.slot in that order?
That's what I was presuming but the integer load 'iload' in the
following debug output of the first basic block in HashMap is trying to
access localinfo.slot which is associated with the float argument.
@0: aload 0
@1: invokespecial 149
@4: iload 1
@5: iflt 14
Likewise the float load 'fload' in the next basic block is trying to
access the localinfo.slot, which is associated with the third
argument and thus not a float value.
@8: fload 2
@9: fconst 0.000000
@11: ifgt 22
Could someone help me sort things out here?
More information about the kaffe