GithubHelp home page GithubHelp logo

resharma / rv8-bench Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaeljclark/rv8-bench

0.0 0.0 0.0 222 KB

rv8 benchmark suite

Home Page: https://rv8.io/bench

Makefile 1.22% JavaScript 4.22% C 87.82% Gnuplot 2.36% Shell 0.40% C++ 3.99%

rv8-bench's Introduction

rv8-bench

The rv8 benchmark suite contains a small set of currently integer centric benchmarks for regression testing of the rv8 binary translation engine. The suite contains the following test programs:

  • qsort
  • aes
  • norx
  • dhrystone
  • primes
  • miniz
  • sha512

Dependencies

rv8-bench depends on the following software:

Installing Node.js on macOS with brew

brew install node

Installing Node.js on Debian Stretch

sudo apt-get install nodejs
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

Installing musl-riscv-toolchain

git clone https://github.com/rv8-io/musl-riscv-toolchain.git
cd musl-riscv-toolchain
for i in riscv32 riscv64 i386 x86_64 arm aarch64; do sh bootstrap.sh $i ; done

Installing rv8

git clone https://github.com/rv8-io/rv8.git
cd rv8
git submodule update --init
make -j4 && sudo make install

Installing riscv-qemu

git clone https://github.com/riscv/riscv-qemu.git
cd riscv-qemu
git submodule update --init
./configure --target-list=riscv64-softmmu,riscv32-softmmu
make -j4 && sudo make install

Building

To build the rv8 benchmarks for riscv32, riscv64, i386 and x86_64 run make in the rv8-bench directory:

cd rv8-bench
make

Running

To see how to run the benchmarks execute npm start for usage instructions:

npm start bench <benchmark> <target> <opt> <runs>
npm start gather

rv8-bench's People

Contributors

michaeljclark avatar

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.