rv8 icon indicating copy to clipboard operation
rv8 copied to clipboard

Add output buffering, labels, relocation and execution to the JIT API

Open michaeljclark opened this issue 7 years ago • 0 comments

The JIT API currently just checks instruction operands and emits the instruction.

  • Add simple buffer implementation to collect JIT output
  • Add support for labels, and link step
  • Add mprotect handling (W^X) so output JIT can be executed
  • Add host ABI trampoline for calling JIT with arguments and return value

michaeljclark avatar Sep 24 '16 00:09 michaeljclark