Skip to content

Commit

Permalink
Refactor - Improve load immediate machinecode efficiency in JIT (#641)
Browse files Browse the repository at this point in the history
* Enforce OperandSize::S64 for emit_ins(X86Instruction::load_immediate()) and emit_sanitized_load_immediate().

* Removes the size parameter from emit_ins(X86Instruction::load_immediate()) and emit_sanitized_load_immediate().

* Simplifies emit_sanitized_load_immediate().

* Optimizes emit_ins(X86Instruction::load_immediate()).
  • Loading branch information
Lichtso authored Dec 5, 2024
1 parent 4ad935b commit ba886be
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 97 deletions.
Loading

0 comments on commit ba886be

Please sign in to comment.