interpreters-comparison
interpreters-comparison copied to clipboard
Sample programs for comparison of different VM interpretation techniques
The code already demonstrates threaded interpreter, and subroutined one. The task is to combine both techniques and make a threaded-subroutined one.
Write a separate program that takes an assembler listing and generates a raw machine code program for the VM from it. It should be able to: - Process all instructions...
From the [article](http://habrahabr.ru/company/intel/blog/261665/): > Наверное, эту идею можно развить и дальше — помочь предсказателю переходов правильно запоминать историю исполнения троек, четвёрок и т.д. за счёт соответствующего «разбухания» кода. Например, иметь...
Add a mechanism to count how many times each of simulated opcode got executed. Requirements for a solution - It should only be active when `INSTR_STAT` macro is defined. I.e.,...
Add a mechanism to count how often the simulated CPU visits different program addresses by counting `PC` register values. Requirements for a solution - It should only be active when...
Curently `mprotect()` used in translated fails when attempted to be executed in Cygwin build. The task is to understand why it fails and fix it, possibly by rewriting the procedure...