Skip to content

A collection of benchmarks and tests for the Patmos processor and compiler

Notifications You must be signed in to change notification settings

alexjordan/patmos-benchmarks

 
 

Repository files navigation

patmos-benchmarks

A collection of benchmarks and tests for the Patmos processor and compiler.

  1. Requirements
  1. Configure and build

mkdir build cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/patmos-clang-toolchain.cmake -DENABLE_TESTING=true make

For a list of pre-defined compiler/processor toolchain configurations see the cmake directory (currently leon3-clang, mpc5554-clang, patmos-clang). To chose one of them use:

cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/-clang-toolchain.cmake

Additional search paths can be provided using the -DCMAKE_PROGRAM_PATH= option.

List of CMake variables of interest: CMAKE_TOOLCHAIN_FILE ... toolchain to use ENABLE_TESTING ... enable tests ENABLE_CTORTURE ... enable gcc.c-torture (build time doubles) PLATIN_ENABLE_WCET ... enable WCET tests (currently patmos only) PLATIN_ENABLE_AIT ... enable WCET tests using absint's aiT tool (patmos only, requires a3)

Have fun!

About

A collection of benchmarks and tests for the Patmos processor and compiler

Resources

Stars

Watchers

Forks

Packages

No packages published