[go: up one dir, main page]

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

acceleration and asm.js #5

Open
4 tasks
curiousdannii opened this issue Mar 31, 2013 · 2 comments
Open
4 tasks

acceleration and asm.js #5

curiousdannii opened this issue Mar 31, 2013 · 2 comments

Comments

@curiousdannii
Copy link
Owner

It should be possible to use asm.js for a lot of the JIT code.

  • Add a system to mark JIT functions as safe or unsafe
  • Recompile safe functions to call safe functions directly, avoiding the overhead of .call() and .ret()
  • The opcodes will need to be able to produce two sets of code, for normal use, and for asm.js (or perhaps try to use asm.js compatible code for all situations)
  • Memory and stacks need to be combined into a single typed array buffer. Would this be beneficial for non-asm.js code too?
@curiousdannii
Copy link
Owner Author

Idea: use a tree structure with events to track and update JIT code as functions are marked safe or unsafe

@curiousdannii
Copy link
Owner Author

When we have Glulx and can run some performance tests, compare using the real DataView functions compared to overwriting with manual byte accessing functions.

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

No branches or pull requests

1 participant