Skip to content

feat(rv-tests): Sample Rust programs #4

@clabby

Description

@clabby

Overview

On top of the riscv-tests spec test suite, we should cross-compile some no_std Rust programs for the sake of testing + benchmarking the emulator against fully-fledged programs.

Some simple example programs could be:

  • Fibonacci
  • Quicksort
  • Collatz conjecture

An output of this ticket should be both tests against the StEmu as well as benchmarks over various ranges. Good example programs should scale in complexity based off of the input, allowing for a wider range of benchmarks.

To benchmark, criterion + flamegraph should be used. Bonus points if benchmarks for brisc get published as an artifact of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions