summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-20Respect redefinition in MicroJIT's opt_minusAlan Wu
2021-10-20Update dependencyAlan Wu
2021-10-20Small build fixesAlan Wu
2021-10-20Try to fix Windows buildAlan Wu
2021-10-20Compile with MicroJIT disabled when scrape failsAlan Wu
This is just so we can build successfully on -O0 and other cases that are not supported by the code scraper.
2021-10-20Show whether MicroJIT is enabled in the version stringAlan Wu
2021-10-20Removed inc/dec instructions because usage not recommended.Maxime Chevalier-Boisvert
2021-10-20Run ruby tool/update-deps --fixAlan Wu
2021-10-20Move registers into header and make them staticAlan Wu
We were leaking these as global symbols and were having linking errors with Clang 12.
2021-10-20Implemented opt_minus in MicroJITMaxime Chevalier-Boisvert
2021-10-20Comment out jnl to fix Linux build againAlan Wu
2021-10-20Fix compilation for -DUSE_INSNS_COUNTERAlan Wu
2021-10-20Added member_opnd() convenience macroMaxime Chevalier-Boisvert
2021-10-20Partially implement opt_send_without_blockAaron Patterson
It will read and check the inline cache now, but we need to actually call the method. Co-Authored-By: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
2021-10-20Added jmp_ptr() to ujit_asm.hMaxime Chevalier-Boisvert
2021-10-20Fix mistake in ujit command line parsingAlan Wu
2021-10-20Check if outlined code block has enough space tooMaxime Chevalier-Boisvert
2021-10-20Implement the --disable-ujit command line optionAlan Wu
2021-10-20endbr64 is fineAlan Wu
2021-10-20Implemented side-exits to interpreter. setlocal_WC_0Maxime Chevalier-Boisvert
2021-10-20Start implementing setlocal_wc0Maxime Chevalier-Boisvert
2021-10-20Comment out jnl to avoid conflict with system headerAlan Wu
This is specific to Linux
2021-10-20Preliminary GNU/Linux support for code scraperAlan Wu
Let's see if this works on CI
2021-10-20Refactor ujit_examples.h generator. Remove dwarfdump dependencyAlan Wu
2021-10-20Update PC in memory when exiting jitted codeAlan Wu
Without this, the allocation tracker was inaccurate and was causing a failure in `test/objspace/test_objspace.rb`.
2021-10-20Revert "Add workaround for inserting into addr2insn mapping"Alan Wu
This reverts commit 6b765b7ca0dad82ffbdeea76c63a0cac5fdc4bfd. It made things much slower and didn't fix the crash.
2021-10-20Avoid triggering GC while translating threaded codeAlan Wu
2021-10-20Add workaround for inserting into addr2insn mappingAlan Wu
2021-10-20Added 8-bit and 16-bit general-purpose registers, more tests.Maxime Chevalier-Boisvert
2021-10-20Don't assume srcdir is cwdAlan Wu
2021-10-20Add location hint to code block mmap callMaxime Chevalier-Boisvert
2021-10-20Added method to align code block write positionMaxime Chevalier-Boisvert
2021-10-20Fixed bug with ctx_stack_pop. Implemented dup bytecode.Maxime Chevalier-Boisvert
2021-10-20Port print_int, movsx. Implement putself.Maxime Chevalier-Boisvert
2021-10-20Add function to print strings from generated codeMaxime Chevalier-Boisvert
2021-10-20Implemented delayed stack pointer adjustment optimizationMaxime Chevalier-Boisvert
2021-10-20Avoid recompiling overlapping instruction sequences in ujitMaxime Chevalier-Boisvert
2021-10-20Fix typoAlan Wu
2021-10-20Fix dependency for ujit_examples.hAlan Wu
Once this works on GNU/Linux this could be done semi automatically.
2021-10-20Compile putnilMaxime Chevalier-Boisvert
2021-10-20Chain compilation of adjacent instructionsMaxime Chevalier-Boisvert
2021-10-20Testing lea instruction properlyMaxime Chevalier-Boisvert
2021-10-20Complete refactoring to codegen functionsMaxime Chevalier-Boisvert
2021-10-20Refactor MicroJIT codegen to use hash table of codegen functionsMaxime Chevalier-Boisvert
2021-10-20Compiling getlocal_WC_0Maxime Chevalier-Boisvert
2021-10-20Ported xor and cmovcc instructionsMaxime Chevalier-Boisvert
2021-10-20Ported neg, and, or instructionsMaxime Chevalier-Boisvert
2021-10-20Remove PC argument from ujit instructionsMaxime Chevalier-Boisvert
2021-10-20Small refactorings in ujit_compile.cMaxime Chevalier-Boisvert
2021-10-20Added cmp, not. Generate code for nop instruction.Maxime Chevalier-Boisvert