Skip to content

Commit

Permalink
feat: optimized interpreter with computed gotos
Browse files Browse the repository at this point in the history
  • Loading branch information
edubart committed Apr 24, 2024
1 parent f2e6334 commit 507d7bc
Show file tree
Hide file tree
Showing 6 changed files with 2,495 additions and 434 deletions.
2 changes: 0 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ ifneq (,$(filter gcc,$(CC)))
# but we don't use -O3 because it enables some other flags that are not worth for the interpreter.
OPTFLAGS+=-fgcse-after-reload -fpredictive-commoning -fsplit-paths -ftree-partial-pre
endif
# Enable large jump tables to improve performance of instruction decoding in interpret.cpp
OPTFLAGS+=-fjump-tables --param jump-table-max-growth-ratio-for-speed=4096
endif

# Link time optimizations
Expand Down
Loading

0 comments on commit 507d7bc

Please sign in to comment.