Bash script and test base for compiler analysis for RISC-V
To run the utility locally from your command line:
# Clone repository
git clone https://github.com/ALanovaya/riscv-check.git
# Go into the repository
cd riscv-check
# Run the script
./analyzer.sh -c <compiler> -t <test_directory> # basic way to run
To view usage and possible options run
./analyzer.sh --help
After running the tests, a file will appear with the result of checking the search for instructions from the bitmanip extension at all possible compiler optimization levels. Also, if there are compiler errors or warnings, a separate file with compiler messages will be created.
Distributed under the MIT License.