Skip to content

Instantly share code, notes, and snippets.

@MerryMage MerryMage/jit-opt.md
Last active Sep 4, 2016

Embed
What would you like to do?
Optimizations to do

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

High

  • Return Stack Buffer

Medium

  • 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.

Low

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

Ideas

  • IR instruction merging
  • Basicblocks having multipile exits

Unlikely

  • 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.