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

Build and test for RISC-V #861

Open
1 of 2 tasks
rinon opened this issue Mar 18, 2024 · 2 comments · Fixed by #870
Open
1 of 2 tasks

Build and test for RISC-V #861

rinon opened this issue Mar 18, 2024 · 2 comments · Fixed by #870
Assignees
Labels

Comments

@rinon
Copy link
Collaborator

rinon commented Mar 18, 2024

@thedataking
Copy link
Collaborator

thedataking commented Mar 20, 2024

  • Looks like the main assembly routines for RISC-V target the itx module. I can easily add those in once PR src/itx.rs: Deduplicate w/ generics #683 lands. Landed.
  • Also need to update cpumask in dav1d_cli_parse.rs.

@thedataking
Copy link
Collaborator

thedataking commented Apr 24, 2024

Currently, enabling vector support crashes qemu-riscv64-system, need to fix that. In order to enable the v target feature, QEMU needs to be invoked like this:

qemu-riscv64-static -cpu rv64,v=true,vext_spec=v1.0,vlen=256,elen=64 path/to/dav1d

Issue observed on QEMU 8.0.4. Might be worth trying on a newer release.

Notes on how to debug crashes in QEMU: #227 (comment)

@thedataking thedataking reopened this Apr 24, 2024
@kkysen kkysen added the testing label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants