Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use static / dynamic binary translation for RISCV to run the program in native machine codes #92

Open
yao-jz opened this issue Nov 5, 2024 · 0 comments

Comments

@yao-jz
Copy link

yao-jz commented Nov 5, 2024

Is your feature request related to a problem? Please describe.

RISCV program running in the interpreter is very slow.

Describe the solution you'd like

Use static / dynamic binary translation for RISCV to run the program in native machine codes.
Use qemu and qemu plugin to insert function pointer after each RISCV instruction to check whether it is at the snapshot point, and then compute the hash function in native machine code to support the VM commitment. (no need to mapping state)
Because running native machine codes is way faster than running RISCV code in the interpreter.
Looking for anyone interested in this optimization to work with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant