Research Report: Decoding Performance: A Comparative Analysis of Open-Source Compilers(GCC & Clang/LLVM)
-
Phase4: Target Code Generation(MIPS32)
A useful online MIPS32 simulator for debugging: github.com/shawnzhong/JsSpim
$ make splc #compile the splc compiler
$ make test #compile the splc compiler and run test cases
$ make clean #clean the output
To successfully run the above command:
-
In Phase1-3, Flex and Bison should be installed
$ sudo apt install libfl-dev libbison-dev
-
In Phase4, PyInstaller and SPIM should be installed
$ pip install pyinstaller $ sudo apt install spim