3 ms·
The calculations is based on the machine instructions, the compiled code by the JIT is able to perform on average. In this case a simple 32-Bit machine with Ope
by s-macke 4y ago
The calculations is based on the machine instructions, the compiled code by the JIT is able to perform on average. In this case a simple 32-Bit machine with OpenRISC architecture.
For the proof of concept, that was the compiled code in [1]. Just look for code snipplets such as "cycles = cyles - xxxx|0", that does the calculation during runtime.
So, my calculation does not include decoding, but CPU state, memory access/mapping, buses.
[1] https://gist.github.com/s-macke/0d79d2ba78a022269cb7859a44174015 https://gist.github.com/s-macke/0d79d2ba78a022269cb7859a4417...