Exactlywb / grasshopper_riscv

Implementation of a project on information security course
MIT License
0 stars 0 forks source link

Grasshopper vectorization using RISC-V64

Implementation of a project on information security course

Directory hierarchy

Contributing

Grasshopper project has .clang-format file. Since we still don't have CI, don't forget format your code 'by hands'

git add <changed/added/deleted files>
git-clang-format origin/main

How to build

Setting the environment

export BUILD_PATH= # path to build directory
export BUILD_TYPE= # Release or Debug

Building

$ cmake -B $BUILD_PATH -DCMAKE_BUILD_TYPE=$BUILD_TYPE
$ cmake --build build

Ready to use. Check the $BUILD_PATH/bin folder with executable files

simple -- a non-vectorized version

vectorized -- a vectorized version with (according to RVV spec 1.0)