gen_i2c_adapter problem on x86_64

John Rose John.Rose at Sun.COM
Tue Sep 8 00:39:57 PDT 2009


Probably it already works because r13 is part of the interpreter  
calling convention, like rsi is on 32-bit.

See InterpreterMacroAssembler::prepare_to_jump_from_interpreted on  
both platforms.

-- John

On Sep 7, 2009, at 9:31 AM, Christian Thalinger wrote:

> Hi!
>
> Today I was hunting down a bug in the JSR 292 compiler port for  
> x86_64.
> After stepping through the call path I found out that the arguments  
> for
> the target call are read from the wrong address (relative to r13,  
> while
> the arguments are stored relative to rsp).  The attached patch is a  
> port
> of what x86_32 does.
>
> Is the attached patch the correct fix?  And if yes, why did this ever
> work before?



More information about the hotspot-compiler-dev mailing list