redream/tools/recc
Anthony Pesch 648041696f fixed bitrot in recc
removed armv3 software interrupt callback
removed circular dependency between jit <-> x64_dispatch
2017-08-10 17:08:26 -04:00
..
README.md improved aica timer accuracy 2016-12-11 17:42:53 -08:00
main.c fixed bitrot in recc 2017-08-10 17:08:26 -04:00

README.md

recc

recc is a CLI tool for statically compiling redream's IR format for optimization and testing purposes.

Generating IR

While running redream, open the debug toolbar and select SH4 -> start block dump. This will start dumping out every block as it is compiled to $HOME/.redream.

Compiling IR

recc [options] <path to file or directory>

Options

           --pass  Comma-separated list of passes to run  [default: lse, dce, ra]
          --stats  Print pass stats                       [default: 1]
--print_after_all  Print IR after each pass               [default: 1]