instruction timings / optimization ?

Charles Oliver Nutter headius at headius.com
Fri Sep 18 21:37:47 PDT 2009


On Fri, Sep 18, 2009 at 4:52 PM, James Ladd <james_ladd at hotmail.com> wrote:
> 1. Is there a document that details each VM instruction and the time it
> takes in cycles on
>     a particular architecture?

I don't think it's possible to accurately measure this information.

The JVM bytecode is essentially an intermediate representation that
the JVM takes and optimizes when compiling to native code. The cycles
a given instruction takes will have little relation to the actual
native code generated.

> 2. Would anyone else find this information useful ?

If it were possible to determine, yes :) But it's not.

- Charlie


More information about the mlvm-dev mailing list