Skip to content

Instantly share code, notes, and snippets.

@MerryMage MerryMage/
Last active Sep 4, 2016

What would you like to do?
Optimizations to do

List of things to do for the final JIT design in order of priority.


  • Return Stack Buffer


  • Local pc cache for instructions currently requiring ReturnToDispatch
  • Use host flags
  • Get/Set-elimination for Extended Registers (requires special handling)
  • Access page-table directly for memory access.


  • Constant folding
  • Replace memory reads to read-only locations with immediates
  • Keep track of sexting, zexting and FTZing


  • IR instruction merging
  • Basicblocks having multipile exits


  • Instruction scheduling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.