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 Aug 10, 2024
1 parent ba349ee commit 588d6ca
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 @@ -210,8 +210,6 @@ ifneq (,$(filter gcc,$(CC)))
# but we don't use -O3 because it enables some other flags that are not worth for the interpreter.
INTERPRET_CXXFLAGS+=-fgcse-after-reload -fpredictive-commoning -fsplit-paths -ftree-partial-pre
endif
# Enable large jump tables to improve performance of instruction decoding in interpret.cpp
INTERPRET_CXXFLAGS+=-fjump-tables --param jump-table-max-growth-ratio-for-speed=4096
endif

# Link time optimizations
Expand Down
Loading

0 comments on commit 588d6ca

Please sign in to comment.