GithubHelp home page GithubHelp logo

t-crest / patmos-benchmarks Goto Github PK

View Code? Open in Web Editor NEW
16.0 29.0 14.0 93.17 MB

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

CMake 0.17% C 76.18% C++ 2.95% Assembly 0.74% Shell 1.73% Makefile 8.11% Perl 0.03% PostScript 8.18% JavaScript 0.06% SAS 0.12% Smalltalk 0.01% HTML 1.34% Objective-C 0.31% Coq 0.05% QMake 0.01% Standard ML 0.01% Pascal 0.01% CSS 0.01% Papyrus 0.01% Awk 0.01%

patmos-benchmarks's Introduction

patmos-benchmarks

===================

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

1. Requirements

2. Configure, build and run tests

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/patmos-clang-toolchain.cmake -DENABLE_TESTING=true
make
make test # (also via ctest, see ctest --help)

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/<processor>-clang-toolchain.cmake

Additional search paths can be provided using the -DCMAKE_PROGRAM_PATH=<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)
  • CONFIG_PML ... architecture configuration file (patmos only)

Patmos configuration

Some Patmos-specific options (e.g. method and stack cache related) for the Clang/LLVM compiler, the simulator (pasim) and WCET tool (platin) are controlled through architecture configuration files in YAML format, see the config-*.pml files in scripts/.

Have fun!

patmos-benchmarks's People

Contributors

alexjordan avatar dlp avatar emoun avatar jeunes2 avatar schoeberl avatar stefanhepp avatar visq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

patmos-benchmarks's Issues

Licensing

Hello,

I'd like to know what is the license associated with the code of the benchmarks. I know that some of them have their own specific license, but is there a general license for the repository code? Or an easy way to find out which license is associated to each benchmark?

All I could find was a copyright disclaimer in the T-Crest website:

© 2012-2014 Copyright in all of the above documents and related software remains vested in the T-CREST Project Partners.

Does this apply to the patmos-benchmarks repository?

GCC testsuite no longer available through SVN

The nightly test cannot access GCC's svn repository to get the GCC test suite that we use for testing LLVM:

-- Found Subversion: /usr/bin/svn (found version "1.9.7") 
svn: E170013: Unable to connect to a repository at URL 'svn://gcc.gnu.org/svn/gcc/trunk/gcc/testsuite/gcc.c-torture/execute'
svn: E000101: Can't connect to host 'gcc.gnu.org': Network is unreachable

We are therefore down to only 118 tests from over 1000.

As far as I can tell, GCC has moved to git and apparently turned off their svn repository. Links to the svn repository redirect to their git help page.

We should fix the test to get the testsuite through git.

error while making the benchmarks

Hi,
I followed the README file and tried to make the benchmarks. However, it gives an error:

patmos-clang-3.4: error: no such file or directory: 'INCLUDES'
make[2]: *** [Debie1-e/code/patmos/clang/CMakeFiles/debie1-target.dir/target.c.bc] Error 1
make[1]: *** [Debie1-e/code/patmos/clang/CMakeFiles/debie1-target.dir/all] Error 2
make: *** [all] Error 2

I cound not find any directory named "INCLUDES" in any directory.
I have installed all the pre-requisites and included the paths as given in t-crest/patmos.
What am I missing here?
Thnaks,
Anwesha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.