Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port mibench benchmarks to CHERIoT #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

JerryHsia-MS
Copy link

@JerryHsia-MS JerryHsia-MS commented Apr 3, 2023

These benchmarks are the same ones used in the CheriRTOS paper.

@JerryHsia-MS JerryHsia-MS force-pushed the main-mibench branch 2 times, most recently from a349b7e to 24a3847 Compare April 3, 2023 12:16
@JerryHsia-MS JerryHsia-MS changed the title Port a couple of mibench benchmarks to CHERIoT Port mibench benchmarks to CHERIoT Apr 3, 2023
@davidchisnall
Copy link
Collaborator

Thanks for working on this. I don't think that we should pull in the MIBench source files directly, they should be added as a submodule and wrapped in compatment entry points. This probably doesn't belong in the test suite, it should go in benchmarks/mibench.

@JerryHsia-MS
Copy link
Author

MiBench has this massive pain that it heavily uses file descriptors but we have no file abstraction. Targeting baremetal without files requires quite a lot of changes and I'm not sure if we could just pull the source files and apply some diffs.

I will restructure the PR. This PR is very drafty because I wanted the code to appear before I left. I can at least pull it out of tests directory. Not sure if we can directly pull from MiBench source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants