bf_jit:针对bf的过度设计的JIT编译器

时间:2021-02-14 14:08:13
【文件属性】:
文件名称:bf_jit:针对bf的过度设计的JIT编译器
文件大小:20KB
文件格式:ZIP
更新时间:2021-02-14 14:08:13
interpreter jit optimizations bf-jit C++ BF_JIT 这是Brainfuck语言的简单解释器。 它使用3地址代码IR格式执行一些有用的优化,然后及时将其编译为x86_64机器代码。 由于这种方法,该解释器仅支持x86_64平台。 内存阵列环绕,因此依赖该功能的程序应该可以工作。 支持8、16和32位单元。 建造 $ git submodule update --init $ make 用法 $ ./bf --help Usage: bf_jit [OPTION...] [input files] -m, --mem-size arg Number of memory cells (default: 32768) --file-names arg BF source file names -d, --dump-code Dump the generated ma
【文件预览】:
bf_jit-master
----.gitmodules(92B)
----src()
--------interpreter.hpp(213B)
--------parser.cc(1KB)
--------code_generator.hpp(2KB)
--------engine.hpp(487B)
--------code_generator.cc(16KB)
--------asmbuf.cc(91B)
--------parser.hpp(516B)
--------optimizer.hpp(484B)
--------engine.cc(3KB)
--------interpreter.cc(3KB)
--------main.cc(859B)
--------runtime.hpp(416B)
--------arguments.cc(3KB)
--------runtime.cc(1KB)
--------ir.cc(2KB)
--------arguments.hpp(508B)
--------asmbuf.hpp(3KB)
--------optimizer.cc(5KB)
--------error.hpp(540B)
--------ir.hpp(1KB)
----.clang-format(51B)
----.gitignore(19B)
----Makefile(318B)
----README.md(1KB)
----test-progs()
--------mandelbrot.bf(11KB)
--------bench.b(255B)
----libs()
--------cxxopts()

网友评论