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

riscv: Implement skinning in vertexjit #16976

Merged
merged 5 commits into from
Feb 17, 2023

Conversation

unknownbrackets
Copy link
Collaborator

At this point, the vertexjit basically has everything implemented for RISC-V.

-[Unknown]

@hrydgard
Copy link
Owner

How's performance?

@hrydgard hrydgard merged commit 203590a into hrydgard:master Feb 17, 2023
@unknownbrackets unknownbrackets deleted the riscv-vertexjit branch February 18, 2023 02:00
@unknownbrackets
Copy link
Collaborator Author

All the vertex decoding variants perform at least 3x the speed of non-jit, and some higher (like 6-7x), but overall it hasn't moved FPS all that much. Crisis Core doesn't use morph/skin, for example, so it's still at 77% in game. Some areas are faster, of course.

I think jitting the CPU will move the needle more, but I wanted to complete this and use it to get a better sense of some tradeoffs (like SD vs SW speed, unrolling vs small loops, whether B instructions are worthwhile, etc.)

-[Unknown]

@hrydgard
Copy link
Owner

Ah, right, yeah morph+skin is pretty rare. Nice for the morphskin.elf demo hough :)

Yeah, makes sense. Great progress so far, it'll be good to be ready when more popular RISC-V devices appear.

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 this pull request may close these issues.

2 participants